Skip to content

Commit 80a10bf

Browse files
update readme with fix from facebook#1939
1 parent f35593c commit 80a10bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-scripts/template/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ To configure the syntax highlighting in your favorite text editor, head to the [
207207

208208
## Displaying Lint Output in the Editor
209209

210-
>Note: this feature is available with `[email protected]` and higher.
210+
>Note: this feature is available with `[email protected]` and higher.
211211
>It also only works with npm 3 or higher.
212212
213213
Some editors, including Sublime Text, Atom, and Visual Studio Code, provide plugins for ESLint.
@@ -406,7 +406,7 @@ Then in `package.json`, add the following lines to `scripts`:
406406
```diff
407407
"scripts": {
408408
+ "build-css": "node-sass src/ -o src/",
409-
+ "watch-css": "npm run build-css && node-sass src/ -o src/ --watch --recursive",
409+
+ "watch-css": "npm run build-css && node-sass src/*.scss -o src/ --watch --recursive",
410410
"start": "react-scripts start",
411411
"build": "react-scripts build",
412412
"test": "react-scripts test --env=jsdom",
@@ -431,7 +431,7 @@ Then we can change `start` and `build` scripts to include the CSS preprocessor c
431431
```diff
432432
"scripts": {
433433
"build-css": "node-sass src/ -o src/",
434-
"watch-css": "npm run build-css && node-sass src/ -o src/ --watch --recursive",
434+
"watch-css": "npm run build-css && node-sass src/*.scss -o src/ --watch --recursive",
435435
- "start": "react-scripts start",
436436
- "build": "react-scripts build",
437437
+ "start-js": "react-scripts start",

0 commit comments

Comments
 (0)