question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compatibility with webpack-dev-server@4

See original GitHub issue

Hi!

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:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
akphicommented, Dec 3, 2020
1reaction
pmmmwhcommented, Dec 26, 2020

It 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found