@@ -207,7 +207,7 @@ To configure the syntax highlighting in your favorite text editor, head to the [
207
207
208
208
## Displaying Lint Output in the Editor
209
209
210
- > Note: this feature is available with ` [email protected] ` and higher.
210
+ > Note: this feature is available with ` [email protected] ` and higher.
211
211
> It also only works with npm 3 or higher.
212
212
213
213
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`:
406
406
``` diff
407
407
"scripts": {
408
408
+ "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",
410
410
"start": "react-scripts start",
411
411
"build": "react-scripts build",
412
412
"test": "react-scripts test --env=jsdom",
@@ -431,7 +431,7 @@ Then we can change `start` and `build` scripts to include the CSS preprocessor c
431
431
``` diff
432
432
"scripts": {
433
433
"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",
435
435
- "start": "react-scripts start",
436
436
- "build": "react-scripts build",
437
437
+ "start-js": "react-scripts start",
0 commit comments