fix: close compiler on SIGINT by snitin315 · Pull Request #2919 · webpack/webpack-cli
@snitin315 We need improve logic here: we need allow to graceful close and allow immutability disable, my idea - when developer run CTRL + C we try to close(), if CTRL + C pressed again we close immediately, also we need handle const signals = ["SIGINT", "SIGTERM"]; signals, for serve we need disable setupExitSignals and move this logic here https://github.com/webpack/webpack-dev-server/blob/master/lib/Server.js#L1088 (in future major release we will remove this option, because it is wrong place for this, developer should handle closing manually)