Shut down server silently, as it is too noisy

This commit is contained in:
Dan Abramov
2017-05-19 20:08:05 +01:00
parent 3a3be7478b
commit e8063322e0

View File

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