-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Exception thrown causing incomplete output to console #311
Comments
Can you share the output of the version with just |
Sure...
I had also made post to Stackoverflow just more focused around Coffeescript solution which is somewhat more serious. There is already one answer that could be right. |
Can you also paste the output of |
|
Got a fix being tested on windows today for this issue. |
Fixed in nodemon@1.0.17 |
Sounds promising, I will check it out, thanks ! |
Alright, I am not sure if this isn't purely Windows issue and I don't have option to test anywhere else. Given this really simple code:
When I run it directly like
node server.js
it works just fine, all 4 messages are displayed followed by exception details. However runningnodemon server.js
gives me just this:What could be possibly causing this ? It doesn't make any sense... Of course commenting out that last error line displays all messages correctly.
It would not be that big deal, but thing is, that adding Coffeescript to the mix with
nodemon server.coffee
swallows whole exception too (maybe worth another issue submit). I am trying to utilize debug utility to have nice verbose log of what is happening in the app. Currently everything is just blind with no clue where the error occurred.Oh and adding
process.on('uncaughtException', ...
somewhat fixes JS version, but Coffee version is still broken same way :( Not that it's solution I like, I want to handle exceptions on my own, but I am talking mainly about development times here and when something slips out.The text was updated successfully, but these errors were encountered: