diff --git a/src/server.js b/src/server.js index 91ded2c1e..1ec267608 100644 --- a/src/server.js +++ b/src/server.js @@ -342,6 +342,10 @@ module.exports = function(opts, callback) { return callback(); }); + process.on('SIGINT', function() { + process.exit(); + }); + setTimeout(callback, 1000); return { app: app,