-
Notifications
You must be signed in to change notification settings - Fork 60.1k
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 doesn't work? #508
Comments
I cannot reproduce the issue. I have been developing on Windows and have never encountered this problem before. |
Received with thanks, bro. Let me try to make a clean build. Maybe due to WSL local development problem. |
It seems that it is a WSL2 bug: microsoft/WSL#4417 I just switched to WSL 2 and also encountered this issue. |
Fixed by microsoft/WSL#4417 (comment) |
Thanks, after tons of trying I think WSL is not a proper development env. Means, what we see is just part of the problems. I don't want to encounter such things anymore so turned to MacOS now. Things much better. |
Describe the bug
The HMR is not working properly when editing files.
To Reproduce
After exec
yarn dev
the HMR doesn't work properly. Especially, when editing files under/app/components/*
the local website won't refresh or recompile.Expected behavior
The project re-compile automatically (update only on modified codes) and refresh website lead to new change.
** Deployment
Desktop (please complete the following information):
Additional Logs
When I edit package.json or tsconfig.js, the re-compiling of first-level will happen. However, compiling /page won't happen.
The text was updated successfully, but these errors were encountered: