You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was originally going to be a bug report titled "Editing src/App.js and saving to reload does not refresh the browser in WSL2", when I discovered during the writing of this report that inotify is not fully supported in the 9P filesystem protocol on WSL2
Describe the bug
This was originally going to be a bug report titled "Editing src/App.js and saving to reload does not refresh the browser in WSL2", when I discovered during the writing of this report that inotify is not fully supported in the 9P filesystem protocol on WSL2
Which terms did you search for in User Guide?
Followed https://create-react-app.dev/docs/troubleshooting/#npm-start-doesnt-detect-changes:
CHOKIDAR_USEPOLLING=true
to.env
did not workWhilst checking watchers, as I am using WSL2 I searched online and came across https://stackoverflow.com/questions/63402588/how-can-nodemon-be-made-to-work-with-wsl-2. This solved the problem of saving files not refreshing the browser
Steps to reproduce
(Write your steps here:)
npx create-react-app my-app
cd my-app
npm start
src/App.js
Expected behavior
The troubleshooting guidance refers to known issues with WSL2: https://stackoverflow.com/questions/63402588/how-can-nodemon-be-made-to-work-with-wsl-2
Actual behavior
The troubleshooting guidance does not refer to the known issues with WSL2
The text was updated successfully, but these errors were encountered: