hot module reload causing Maximum call stack size exceeded

Do you want to request a feature or report a bug?
report a bug

What is the current behavior?
following the HMR Guide 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.

Author: Fantashit

2 thoughts on “hot module reload causing Maximum call stack size exceeded

  1. 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

  2. Hi, I has the same issue , because i has
    --inline --hot in package.json and
    hot:true , inline: true in webpack.config.js
    when i deleted it from package.json it start work correct

Comments are closed.