Compatibility with webpack-dev-server@4
See original GitHub issueHi!
The first beta of webpack-dev-server@4
was recently released. @pmmmwh/react-refresh-webpack-plugin
(optionally) peer-depends on webpack-dev-server@3
, so I wasn’t expecting it to work right away, but I was curious to try. Currently, it seems that no errors are being reported and the dev server remains functional, but HMR / React Refresh don’t seem to be working at all. Every component change, even in the simplest case, triggers a full page refresh.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:5 (3 by maintainers)
Top Results From Across the Web
DevServer - webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable...
Read more >webpack-dev-server/migration-v4.md at master - GitHub
Migration guide. This document serves as a migration guide for webpack-dev-server@4.0.0 . ... Minimum compatible webpack-cli version is 4.7.0 .
Read more >webpack-dev-server - npm
Use webpack with a development server that provides live reloading. This should be used for development only. It uses webpack-dev-middleware ...
Read more >What's the replacement for webpack-dev-server in Webpack 4?
Is there a replacement for this in Webpack 4, or do I need a separate web server? It was really convenient to quickly...
Read more >Webpack 4 | Mobify DevCenter
The server.listen function has changed in the new version of webpack-dev-server . It now accepts 3 parameters: a port, hostname, and ...
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
@billyjanitsch please see this thread https://github.com/pmmmwh/react-refresh-webpack-plugin/issues/126#issuecomment-736883538
It has to do with
webpack-dev-server
and we’re currently waiting for https://github.com/webpack/webpack-dev-server/issues/2893It is now published under the
next
tag 😃I’m also hoping to finish all bug fixes and release
0.5.0
stable before new year’s eve.