Webpack hmr: __webpack_hmr 404 not found
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using webpack-dev-server for hot module replacement. It's working just fine, but this error keeps showing up in the console every couple of seconds: GET http://mysite:8080/__webpack_hmr 404 (Not Found) . Here's my webpack.config.js: var webpack = require('webpack'), hostname = 'mysite', port = 8080; module.exports = { entry: [ 'babel-polyfill', './src/js/main.js', './dev/requireCss.js', 'webpack/hot/dev-server', // I'm assuming the fault lies in the following line, but I can't figure out what's wrong 'webpack-hot-middleware/client?path