Skip to content

hot module reload causing Maximum call stack size exceeded #5655

@flazz

Description

@flazz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions