From 9576373dbfa392bebc05495c4daac9526e3e9c92 Mon Sep 17 00:00:00 2001 From: Annika Backstrom Date: Sat, 14 Dec 2019 21:08:08 -0500 Subject: [PATCH] Fix bug where nodemon would not kill child procs --- player.js | 1 + 1 file changed, 1 insertion(+) diff --git a/player.js b/player.js index 3cca474..6299fde 100644 --- a/player.js +++ b/player.js @@ -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) => {