From 5d4f76c929a6cd83499be13d56eb42ec938c614c Mon Sep 17 00:00:00 2001 From: Myk Klemme Date: Tue, 28 Feb 2017 22:27:58 -0800 Subject: [PATCH] Fixed missing --recursive flag in first `npm run watch-css` command The first `package.json` change doesn't have the `--recursive` flag that is included in the later example where it updates the `start, `build`, and `start-js` commands. This pr would update it so it matches. --- packages/react-scripts/template/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index e290b935625..9825bad0a05 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -428,7 +428,7 @@ Then in `package.json`, add the following lines to `scripts`: ```diff "scripts": { + "build-css": "node-sass src/ -o src/", -+ "watch-css": "npm run build-css && node-sass src/ -o src/ --watch", ++ "watch-css": "npm run build-css && node-sass src/ -o src/ --watch --recursive", "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom",