From d627d34a765cbc8940ca5a46439ed0cc6fb5803b Mon Sep 17 00:00:00 2001 From: Gavin Scott Date: Sat, 2 Oct 2021 15:36:10 -0700 Subject: [PATCH] Update "start" to auto-reload on WSL 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: https://github.com/facebook/create-react-app/issues/10253 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8574f32..32906de 100644 --- a/package.json +++ b/package.json @@ -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",