Skip to content

Commit

Permalink
Merge pull request #1 from screetBloom/fix/dev-exit
Browse files Browse the repository at this point in the history
fix(cli-service): webpack-dev-server doesn't exit on Ctrl+C
  • Loading branch information
screetBloom authored Aug 19, 2022
2 parents 42ad3d1 + 5d0a03f commit 1857c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/commands/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ module.exports = (api, options) => {

// fix: webpack-dev-server doesn't exit on Ctrl+C
;['SIGINT', 'SIGTERM'].forEach(signal => {
process.on(signal, () => exitProcess)
process.on(signal, exitProcess)
})

if (args.stdin) {
Expand Down

0 comments on commit 1857c87

Please sign in to comment.