-
-
Notifications
You must be signed in to change notification settings - Fork 171
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 does not work anymore #230
Comments
Funny that this is posted as I have been working on the same issue for the last 1 hour. I tried updating packages and looking around but to no avail. In console
Then nothing. My renderer.tsx
and my package.json
|
@PerfectionCSGO exactly the same issue I have... 1:1 :D Its so annoying that I lost the whole day debugging my app, changing settings, tsconfig, packages... Then I decided to make a new account on my PC, because I was thinking that maybe it's a problem with cache or something but that does not help. The best thing, yesterday was everything ok. I tried also to downgrade the package and nothing but looks like, one of the upstream packages got an update and that breaks maybe whole HMR. After downgrading I got the same issues so - that's why I was drilling my config files :D |
I too have this issue. 2.3.1 works, 2.6.0 doesn't. (I'm on windows and can't test the versions between these due to #223). The symptoms, as previously mentioned, is that it doesn't seem to watch the files - the console doesn't react when changing files. |
Just stepped through and it broke in 2.4.0. I happen to be on macOS 10.14.1 (Mojave) so it's not a platform specific thing. |
I had the same issue with 2.4.0 and 2.6.0. It was causing me some other issues; after packaging and building my app I'd have to restart my computer to get I've reverted to 2.3.1 and everything is working perfectly again. I'm on macOS 10.14.1 also. |
same issue here, I rolled back to v2.3.1 for now. |
Confirmed downgrading to |
Confirmed downgrading 2.3.1 on Ubuntu 18 |
@develar Whatever the changes were, they don't appear to solve the issue. I am using electron-webpack 2.6.2 via the quick-start project, but still experiencing broken HMR. EDIT: Nvm. Seems to be something related to my system, nothing was changed and no commands run on default quickstart project and HMR was working correctly. |
I have the same issue @polarathene after adding typescript support and react, wonde what can cause the issue... Edit: In fact, HMR is stuck at waiting:
|
@sigmasoldi3r If the system has been running for a while or has a lot of things open, consider a restart. It might be something due to file watchers/handlers that raising your inotify/inodes limit might fix if that's the case. |
Hey,
I noticed that the HMR does nothing now, like does not watch for changes or something. After when I edit a file, nothing happens.
I tested also the provided example (https://github.com/electron-userland/electron-webpack-quick-start), and I had the same issue with it.
Example:
tet.zip
Regards,
TheAifam5
The text was updated successfully, but these errors were encountered: