-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 appears broken in 3.4.1 upgrading from 3.3.1 #1912
Comments
Please submit the reproduceable repo. |
Without reproducible test repo we can't help and issue was closed, please provide minimum reproducible test repo |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Same thing. HMR not working in v. 3.4.1 |
@evilebottnawi I can confirm that this works! |
Somebody can create minimum reproducible test repo otherwise issue was closed |
/cc @GitNomster @croissong friendly ping, problem still exists? Can you create minimum reproducible test repo? |
Can confirm, with very standard setup. websocket seems to be broken, with 3.3.1 I get a bunch of "sock-js" debug messages (with window.localStorage.debug = '*') and with 3.4 there is none at all. Don't close. |
@vespakoen Please create minimum reproducible test repo, maybe you have invalid configuration |
npm start:
my cep.config.js is generated through an extension that I am using, but here is a console.dir of it anyways:
Hope it helps |
To be clear, HMR works fine in 3.3.1, using no arguments, e.g.: And stopped working in 3.4 |
@vespakoen you use |
What i meant was, that configuring |
Thanks for that, isn't that a breaking change that deserves a major version increment then? What is the rationale of excluding node-webkit from injectHot / injectClient? |
I think it is bug and we should enable hot for /cc @hiroppy |
@evilebottnawi i'm using |
@GitNomster interesting question, |
@evilebottnawi I don't know, but in the 3.3.1 it works. |
@GitNomster try to change target on web |
I am closing this issue, because original issue doesn't have minimum reproducible test repo, other problems is very difference. If you still have problem please open new issue with reproducible test repo, thanks. Don't forget check you target. We include client for HMR only for |
Even setting the target to web, adding injectHot / injectClient options to true doesn't make HMR work on 3.4 for me..., please re-open -- EDIT -- Scrap that, I forgot to re-npm-link my stuff, so I wasn't checking it correctly, works now with web target |
Sorry for that, my mistake ;) |
even |
@ije sounds like a bug, can you create minimum reproducible test repo? |
here is the test repo: https://github.com/ije/hmr-3.4-on-electron-renderer yarn install
yarn start |
@ije thanks for issue, it is bug, we should add |
@evilebottnawi Thanks! i have no idea about |
@ije 👍 If somebody have problem with target too feel free to open new issue with reproducible test repo, it is bug and regression so don't afraid report about this |
@evilebottnawi How about to add |
@GitNomster can you prove example? |
Reproducible test repo enough |
Please publish this fix ASAP. Thanks. |
@hawkeye64 What? We only add |
@evilebottnawi Thank you. We'll begin testing today. |
Code
// webpack.config.js
// additional code, remove if not needed.
Expected Behavior
HRM is working.
Actual Behavior
HRM is not working.
No updates, no WDS messages, whatsoever.
For Bugs; How can we reproduce the behavior?
Due to the nature of the project I'm working on I cannot share actual code, however. I'm experiencing a regression by upgrading from "webpack-dev-server": "3.3.1", to "webpack-dev-server": "^3.4.1",
I'm not the only one who is experiencing this.
#1897 (comment) But it was dismissed in that thread.
Our current workaround is to keep 3.3.1 pinned until this is resolved.
The text was updated successfully, but these errors were encountered: