mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
Merge pull request #595 from claydotio/master
monitor: always exit, fixes #592
This commit is contained in:
@@ -278,10 +278,10 @@ bus.on('quit', function onQuit() {
|
||||
listener();
|
||||
}
|
||||
});
|
||||
process.exit(0);
|
||||
} else {
|
||||
bus.emit('exit');
|
||||
}
|
||||
process.exit(0);
|
||||
};
|
||||
|
||||
// if we're not running already, don't bother with trying to kill
|
||||
|
||||
Reference in New Issue
Block a user