Shame on me

This commit is contained in:
Dan Abramov
2017-05-19 16:37:41 +01:00
committed by GitHub
parent e0b444e517
commit 2023e44126

View File

@@ -88,7 +88,7 @@ choosePort(HOST, DEFAULT_PORT)
['SIGINT', 'SIGTERM'].forEach(function(sig) {
process.on(sig, function() {
console.log(`Gracefully shutting down server after ${sig}...`);
server.close();
devServer.close();
process.exit();
});
});