javascript - webpack --hot hot reload is invalid problem
黄舟
黄舟 2017-07-05 10:59:17
0
4
1076

webpack-dev-server --hot --port 8090 This command, hot reloading is invalid, how to configure it

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(4)
ringa_lee

Check if your port is occupied

漂亮男人

When configuring HMR yourself, you need to install the corresponding dependencies of the front-end framework. For example, under the Vue system, you need to install the vue-hot-reload-api dependency. You can refer to this blog of mine:
http://ewind.us/2017/webpack-...

淡淡烟草味

Modify port 8090 in config/index.js and try it. .

習慣沉默

What’s wrong with closing the port when hot reloading is invalid?.
If there is a port conflict, even the devServer cannot be started.
An error message should be posted here

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template