Skip to content

Commit a797c4a

Browse files
butlerxDanielBrierton
authored andcommitted
handle nodemon restart
1 parent eebb1ba commit a797c4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

service.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ seneca.use(require('./lib/queues'), {config: config.kue});
5050
process.on('SIGINT', shutdown);
5151
process.on('SIGTERM', shutdown);
5252
process.on('uncaughtException', shutdown);
53+
Process.on('SIGUSR2', shutdown);
5354

5455
function shutdown (err) {
5556
var stopQueue = seneca.export('queues/queue')['stopQueue'];

0 commit comments

Comments
 (0)