-
Notifications
You must be signed in to change notification settings - Fork 60
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
Stopping server on error #27
Comments
That's odd. I created this project because my server kept stopping whenever I introduced an error! So, first, things first, can you post up your |
Here's the express block
I'm not exporting the server, is that important? I just tried exporting it a moment ago, then tried to introduce an error, and it still hung up. |
Ah, I see now. I'm having the same problem. I'll resolve it |
Oh, God. I'm an idiot. I was treating |
|
Awesome, that fixed it! Thanks for the quick response! |
First of all, I want to thank you for the great work you've done on this grunt plugin.
I have livereload watching my server files. The problem is, if I introduce any error in the server code and save the file, the server reloads, throws an error, and then hangs. This is kind of annoying because then I have to close the command prompt out and CD back into the project folder to restart the server.
Is there a way to simply stop the server when an exception is thrown?
The text was updated successfully, but these errors were encountered: