Skip to content

Commit 88a9f3c

Browse files
committed
Use node-sass-chokidar to avoid infinite loop
Details: facebook/create-react-app#2114
1 parent 46b73d3 commit 88a9f3c

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

package-lock.json

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-6
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
"license": "ISC",
66
"standard": {
77
"parser": "babel-eslint",
8-
"plugins": [
9-
"flowtype"
10-
]
8+
"plugins": ["flowtype"]
119
},
1210
"dependencies": {
1311
"bootstrap": "^4.0.0-beta.2",
1412
"firebase": "^4.7.0",
1513
"jquery": "^3.2.1",
16-
"node-sass": "^4.7.2",
14+
"node-sass-chokidar": "0.0.3",
1715
"npm-run-all": "^4.1.1",
1816
"react": "^16.2.0",
1917
"react-dom": "^16.2.0",
@@ -22,8 +20,8 @@
2220
"reactstrap": "^5.0.0-alpha.4"
2321
},
2422
"scripts": {
25-
"build-css": "node-sass --include-path ./src --include-path ./node_modules src/ -o src/",
26-
"watch-css": "npm run build-css && node-sass --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
23+
"build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",
24+
"watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
2725
"start-js": "react-scripts start",
2826
"start": "npm-run-all -p watch-css start-js",
2927
"build-js": "react-scripts build",

0 commit comments

Comments
 (0)