My webpack-dev-server was running for a while, but it jammed and occupied the port and needed to kill the process
Operating System:win10 Node Version:v10.16.0 NPM Version:6.9.0 webpack Version:4.29.6 webpack-dev-server Version:3.7.2 Browser:chrom
- [ ] This is a bug
- [ ] This is a modification request
Code
// webpack.config.js
devServer: { publicPath: '/', // 存放的路径 host: '0.0.0.0', port: '8000', compress: true, useLocalIp: true, hot: true, historyApiFallback: true, // 解决启动后刷新404 proxy },
// additional code, remove if not needed.
Expected Behavior
Actual Behavior
For Bugs; How can we reproduce the behavior?
For Features; What is the motivation and/or use-case for the feature?
The node process must be killed before it can be restarted
It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue.
If you again create issue with incomplete issue template we will ban you, PLEASE full issue template