Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hot module reload causing Maximum call stack size exceeded #5655

Closed
flazz opened this issue Sep 9, 2017 · 5 comments
Closed

hot module reload causing Maximum call stack size exceeded #5655

flazz opened this issue Sep 9, 2017 · 5 comments

Comments

@flazz
Copy link

flazz commented Sep 9, 2017

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.

@sokra
Copy link
Member

sokra commented Sep 10, 2017

see webpack/webpack-dev-server#87

@webpack-bot
Copy link
Contributor

This issue had no activity for at least half a year.

It's subject to automatic issue closing if there is no activity in the next 15 days.

@Aequitas737
Copy link

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

@alexander-akait
Copy link
Member

Closing due to inactivity. Please test with latest version webpack and webpack-dev-server and feel free to reopen if still regressions. Also i recommend migrate on webpack-serve Thanks!

@LukReaver
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants