Skip to content

Commit

Permalink
Update "start" to auto-reload on WSL
Browse files Browse the repository at this point in the history
I'm developing on the Windows subsystem for Linux,
and the dev server wasn't auto-reloading when I
made changes to the site. Followed the advice here
to get a fix:

facebook/create-react-app#10253
  • Loading branch information
goscott committed Oct 2, 2021
1 parent 790d879 commit d627d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"web-vitals": "^1.1.2"
},
"scripts": {
"start": "react-scripts start",
"start": "CHOKIDAR_USEPOLLING=true react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
Expand Down

0 comments on commit d627d34

Please sign in to comment.