balderdashy/sails — pull request #949 by edy (2013-10-05 14:53:46+00:00)
Title: sails teardown should handle SIGUSR2 kill signal

runnig sails in development mode using nodemon causes one new grunt instance on every sails lift while the old grunt instance is still running and watching...

nodemon sends a **SIGUSR2** kill signal to an app when it sees a file update.

this commit handles this kill signal and lowers sail gracefully.