Description
Describe the bug
On WSL 2 when I create an app using create-react-app
and use npm start
the app doesn't reload when I edited and saved file.
i.e. Hot Reloading doesn't work
Which terms did you search for in User Guide?
I refer all the official guides and Stackoverflow.
I found a workaround - by shifting my Project folder to Linux File System i.e.
\\wsl$\DISTRO_NAME
, it works. ( workaround but not a solution )
Refer this if anyone haven't yet found the workaround,
https://prajjwaldatir.medium.com/create-react-app-not-working-62fc9fc4368b
Environment
Windows 10
WSL2
Steps to reproduce
Create an App using npx create-react-app test1
on windows file system.
Run following commands through WSL2
cd test1
npm start
Expected behavior
locahost 3000 running perfectly with Hot Reloading working for my projects located in Windows File System.
Actual behavior
locahost 3000 running perfectly with Hot Reloading NOT working for my projects located in Windows File System.