mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
Merge branch 'master' of github.com:remy/nodemon
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user