Merge pull request #595 from claydotio/master

monitor: always exit, fixes #592
This commit is contained in:
Remy Sharp
2015-07-27 21:43:11 +01:00

View File

@@ -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