Hot Reload Not Working with WSL #29159
Unanswered
CubingSoda
asked this question in
Help
Replies: 1 comment 4 replies
-
Yes, @BypassSpace ! this problem is already known and so far the best solution in my opinion is to change the port. Something on port 3000 on WSL with HMR just doesn't work well. Edit Be happy for now! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am on a Windows 10 machine, with WSL2 enabled. I have Ubuntu enabled on my system.
I installed npm and yarn, then ran this:
yarn create next-app test
It finished successfully.
However, after running
yarn dev
and making a change, it won't hot reload. It didn't even show my changes after manually hard refreshing. When I re-ranyarn dev
, it updated the site. Why is this happening?When I used Nextjs without WSL, it worked perfectly.
Help greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions