Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Stopping server on error #27
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?
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.