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

HMR only works once after the update failed #42

Closed
jfroffice opened this issue Jan 5, 2021 · 7 comments
Closed

HMR only works once after the update failed #42

jfroffice opened this issue Jan 5, 2021 · 7 comments

Comments

@jfroffice
Copy link

and the reload of the page also failed.

image

@tpkahlon
Copy link
Collaborator

tpkahlon commented Jan 6, 2021

@jfroffice: Hello!

Can you please try commenting out line 19 and line 38-41 in webpack.dev.js?

Please report if above line clear blockers for you? If so, @taniarascia might need to look at it.

@waldronmatt
Copy link

@jfroffice if you are using multiple entrypoints with HMR, set optimization.runtimeChunk: "single". webpack/webpack-dev-server#2792

@jfroffice
Copy link
Author

@waldronmatt thx for the recommandation, I will have a try.

@jfroffice
Copy link
Author

@tpkahlon sounds to have the same behavior, it only works once.

@jfroffice: Hello!

Can you please try commenting out line 19 and line 38-41 in webpack.dev.js?

Please report if above line clear blockers for you? If so, @taniarascia might need to look at it.

@jfroffice
Copy link
Author

@waldronmatt some chunks are getting bigger than the previous Webpack configuration, probably a downside from this configuration. But the build is going faster.

@jfroffice jfroffice reopened this Jan 22, 2021
@taniarascia
Copy link
Owner

Hello. I tested out several changes to both the Sass files and JavaScript files in the dev environment, and did not encounter any issue. If this issue is ongoing, let me know, otherwise I'll close it.

@jfroffice
Copy link
Author

Can be close actually.

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

4 participants