You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say you have a JavaScript file named gloob.js with an invalid syntax like:
var gloob = hello())
If you run simplifyify gloob.js it correctly reports the error and exits.
If, however, you run simplifyify gloob.js -w. When you save the file and introduce this error, it simply reports that the file is changed. The error is not reported. The output bundle file will be blank, but nothing indicates that there was an error.
I did a bit of poking around and it seems that the error event is not firing in bin/simplifyify.jsor in lib/index.js. Perhaps it is being swallowed in write-bundles.js?
I could try writing a failing test for this and submitting a pr if that would help. I'm not super experienced with chai, but I could probably figure it out.
Oh, and also simplifyify is pretty awesome. 👍
The text was updated successfully, but these errors were encountered:
Say you have a JavaScript file named
gloob.js
with an invalid syntax like:If you run
simplifyify gloob.js
it correctly reports the error and exits.If, however, you run
simplifyify gloob.js -w
. When you save the file and introduce this error, it simply reports that the file is changed. The error is not reported. The output bundle file will be blank, but nothing indicates that there was an error.I did a bit of poking around and it seems that the error event is not firing in
bin/simplifyify.js
or inlib/index.js
. Perhaps it is being swallowed inwrite-bundles.js
?I could try writing a failing test for this and submitting a pr if that would help. I'm not super experienced with chai, but I could probably figure it out.
Oh, and also simplifyify is pretty awesome. 👍
The text was updated successfully, but these errors were encountered: