Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No typescript errors found with first execution #52

Open
linuxonrails opened this issue Jul 24, 2018 · 1 comment
Open

No typescript errors found with first execution #52

linuxonrails opened this issue Jul 24, 2018 · 1 comment

Comments

@linuxonrails
Copy link

// debug: bundle.on('buildStart', callback) {
// no errors found here!!!
} // debug: async function runBundle()
// watch is enabled...
// innocent change that keeps the error in the code...

🚨  /home/davidm/src/todocoleccion/assets/javascripts/src/panel/popover_mensajes_consultas.ts(6,26)
Cannot find name 'asdfasdfadfa'.
    5 | // Aquí se iran apuntando los que esten siendo cargados, para evitar una doble peticion ajax.
  > 6 | var loadingPopovers = {};asdfasdfadfa
      |                          ^^^^^^^^^^^^
    7 | 

🚨  /home/davidm/src/todocoleccion/assets/javascripts/src/panel/popover_mensajes_consultas.ts(6,26)
Cannot find name 'asdfasdfadfa'.
    5 | // Aquí se iran apuntando los que esten siendo cargados, para evitar una doble peticion ajax.
  > 6 | var loadingPopovers = {};asdfasdfadfa
      |                          ^^^^^^^^^^^^
    7 | 

bundle.on('buildStart', callback) & bundle.on('buildEnd', callback) were executed before the errors were found. I need to inform the programmer that the transpilation has finished without errors.

I think bundle.on('buildEnd', callback) should be executed after showing errors.

@mattcroberts
Copy link

I've also encountered this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants