Hot only HMR failed to work in 5.48.0
See original GitHub issueBug report
What is the current behavior?
HMR fails to work
If the current behavior is a bug, please provide the steps to reproduce.
Open x.zip and follow reproduce steps in README.md
What is the expected behavior?
HMR should work to update browser content.
According to #12408 , HMR check api fails to add updated modules to updatedModuleList
array, and with the change in 551f64a59030c9250fdf97ce05b49d98efb45dab it adds an empty array check, now HMR failed to work completely.
Dowgrade webpack to 5.47.0 can solve this issue.
Other relevant information:
webpack version: 5.48.0 Node.js version: v16.5.0 Operating System: macOS Additional tools: No
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (10 by maintainers)
Top Results From Across the Web
New Setup with Webpack 5 and Dev-Server and HMR thrown ...
I updated my setup and with the new modules my HOT reloading no longer works. I get the following error message:
Read more >Bundle with Webpack - Gitter
I'm new webpack user and i want to know how to use "style-loader" with ... cannot be hot updated, I see the following...
Read more >webpack/types.d.ts - UNPKG
554, * After this method has succeeded the cache can only be restored when build dependencies are. 555, */. 556, storeBuildDependencies(.
Read more >webpack-contrib - Bountysource
loader rule issuer tests always fail when experimentalUseImportModule is ... but given that HMR for .css doesn't work in some cases while exctraction...
Read more >Webpack's HMR & React-Hot-Loader — The Missing Manual
You can use just one of them. The main difference is as follows: only-dev-server doesn't reload the browser upon syntax errors. This is ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Jack-Works it was in docs and also fixed in v4, just remove
hot
orhotOnly
Fixed https://github.com/webpack/webpack/pull/13932