C
C
coderlex2016-07-17 21:27:42
webpack
coderlex, 2016-07-17 21:27:42

Webpack stays in processes after Ctrl+C. How to fix?

I start webpack with this line:

$ webpack-dev-server --config config/webpack.dev.js --progress --profile --colors --watch --display-error-details --display-cached --content-base src/

After pressing Ctrl + C in the console, the application is purely visually closed and the cursor blinks to enter the next command. In general, everything is as it should be. But in fact, the process remains in memory (visible from the task manager) and does not allow itself to be launched from the console again, since it occupies the same port each time it is started. You have to kill it manually every time from the task manager.
Who faced such a problem, how to solve?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question