Fix bug where nodemon would not kill child procs

This commit is contained in:
Annika Backstrom 2019-12-14 21:08:08 -05:00
parent a6a9050afc
commit 9576373dbf

View File

@ -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) => {