Closed masterzh01 closed 7 years ago
Hi,
出现错误 http://127.0.0.1:8000/__webpack_hmr net::ERR_CONNECTION_REFUSED
listen address 如何更改?谢谢
服务器已关闭?
server 运行在虚拟机里面,在外面去访问时hmr不能工作。
它默认连接的是localhost,有没有办法指定虚拟机的地址?
目前不行,写死了 https://github.com/dora-js/dora-plugin-webpack-hmr/blob/master/src/index.js#L28 。
两个方案:
OK
明白,谢谢。
Hi,
出现错误 http://127.0.0.1:8000/__webpack_hmr net::ERR_CONNECTION_REFUSED
listen address 如何更改?谢谢