Merge branch 'master' of github.com:remy/nodemon

This commit is contained in:
Remy Sharp
2013-04-03 10:57:16 +01:00

View File

@@ -721,7 +721,7 @@ if (!isWindows) { // because windows borks when listening for the SIG* events
process.exit(0);
};
if (child) {
if (child && !isWindows) {
child.removeAllListeners('exit');
child.on('exit', exit);
child.kill('SIGINT');