Do you want to request a feature or report a bug?
report a bug
What is the current behavior?
following the HMR Guide
devServer.hot: true
and plugins
contains new webpack.HotModuleReplacementPlugin()
.
When my webpack config has both of these changes I get a seemingly infinite loop. console details
If the current behavior is a bug, please provide the steps to reproduce.
follow the guide linked above, change some code in print.js
What is the expected behavior?
That the code is reloaded without an error.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Same thing here, removing the plugin
new webpack.HotModuleReplacementPlugin()
from the webpack config seems to fix the issue and hot reloading still seems to work
Hi, I has the same issue , because i has
--inline --hot
in package.json andhot:true , inline: true in webpack.config.js
when i deleted it from package.json it start work correct