-
Notifications
You must be signed in to change notification settings - Fork 801
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
v4.0.0 Beta not working with electron #794
Comments
Could you please try to setup RHL v4 as v3. Ie with "manual" module.hot.accept/AppContainer in index.js, and without |
Related #720. So it is not working? |
Confirmed. Degradation due to the changes made for #775 - "could not override .render method, as long it read only." |
Regardless of regression in beta-14 this example runs perfectly for beta-12/13. |
I have done a little bit more research on it. I am using I updated to version When I am activating the debug for Could it be linked to babel's |
Here the example repo : https://github.com/rllola/hmr-example-issue-2 I hope it will help. |
For me HRM fires only once. If I will change any file once again - no HRM will be sent. |
@theKashey Are you using webstorm ? I do receive the signal everytime I make a modification. |
It's not related to IDE. But yes - I am using Webstorm. But no - I am running yarn outside of IDE. |
I was wondering if it wasn't linked to this : #343 Here the working branch with v3 (unfortunately it was broking instanceof and we were waiting for v4 which fix it) : https://github.com/rllola/hmr-example-issue-2/tree/v3 |
Ok. @rllola - I've solve your problem. Solution - take your v3 branch and just install RHL v4. Dont change the code. Just bump version. I hope it will help. (please confirm) |
I confirm it is working. |
If you are reporting a bug or having an issue setting up React Hot Loader, please fill in below. For feature requests, feel free to remove this template entirely.
Description
The HMR doesn't work with electron.
Expected behavior
When changing some html code I expect the electron application to show those modification.
Actual behavior
Nothing is happening
Environment
React Hot Loader version: 4.0.0-beta.14
Run these commands in the project folder and fill in their results:
node -v
: v7.10.1npm -v
: 5.4.2Then, specify:
Reproducible Demo
https://github.com/rllola/hmr-example-issue/tree/hello
The text was updated successfully, but these errors were encountered: