-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
Multiple config + devServer + different HMR options don't work #1955
Comments
I've also found this to be true with the |
|
@evilebottnawi Thanks, good to know. I don't see this reflected in the docs (v4 or v5) yet, though, or in the form of a CLI config parsing error or warning for that matter (which I've appreciated as being particularly thorough). |
Expected, you have |
@evilebottnawi hi please read again. my expectation is that has no HMR for the second config, but it has |
My mistake |
I have workaround this problem by providing a function to |
Duplicate #2408, we need improve multiple dev servers support |
Describe the bug
I try to use 2 configs that one uses HMR and the other one doesn't. It doesn't work.
To Reproduce
Run
webpack serve
Expected: The dist/b.js don't have HMR related code
Actual: It has
The text was updated successfully, but these errors were encountered: