-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Closed
Description
Is your proposal related to a problem?
WSL2 : ReactJS not reloading after saved.
I recently installed WSL 2 but when I create an app using create-react-app and use npm start the app was’t reloaded when I edited and saved some file
Describe the solution you'd like
I want to use Hot Reloading on my Projects located in Windows file system.
WSL2 changed the file sharing protocol, from using their own custom developed protocol using the 9P protocol, which does not support file changes event for Create React App.
Describe alternatives you've considered
To FIX this issue : You can put your code on the Linux file system (example : in your user’s home directory ), and access these files through the WSL share, \wsl$\DISTRO_NAME from Windows.
Additional context
I wrote everything properly again here
https://prajjwaldatir.medium.com/create-react-app-not-working-62fc9fc4368b
kyhuudong, juniorbotelho, resyfer, nurshom, LalJoncoux-Aydin and 15 morejuniorbotelho, gabriel-rc-201 and mukor