Fix bug where nodemon would not kill child procs
This commit is contained in:
parent
a6a9050afc
commit
9576373dbf
@ -55,6 +55,7 @@ function exitHandler(options, err) {
|
||||
|
||||
process.on('exit', exitHandler.bind(null));
|
||||
process.on('SIGINT', exitHandler.bind(null, {exit:true}));
|
||||
process.on('SIGUSR2', exitHandler.bind(null, {exit:true}));
|
||||
|
||||
const throttledTag = throttle(config.global_throttle, true, tag => {
|
||||
ScriptRunner.find(tag).then((fulfilled) => {
|
||||
|
Loading…
Reference in New Issue
Block a user