Skip to content
This repository has been archived by the owner on Dec 13, 2017. It is now read-only.

Commit

Permalink
Use node-sass-chokidar to fix infinite CSS recompiling
Browse files Browse the repository at this point in the history
  • Loading branch information
wpf500 committed Sep 18, 2017
1 parent 7bc3e96 commit 76ee483
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
"devDependencies": {
"faker": "^4.1.0",
"json-server": "^0.10.0",
"node-sass": "^4.5.2",
"node-sass-chokidar": "0.0.3",
"npm-run-all": "^4.0.2",
"react-scripts": "0.9.5"
},
"scripts": {
"build-css": "node-sass src/ -o src/ --importer=node_modules/node-sass-package-importer/dist/cli.js",
"watch-css": "npm run build-css && node-sass src/ -o src/ --watch --recursive --importer=node_modules/node-sass-package-importer/dist/cli.js",
"build-css": "node-sass-chokidar src/ -o src/ --importer=node_modules/node-sass-package-importer/dist/cli.js",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive --importer=node_modules/node-sass-package-importer/dist/cli.js",
"messages": "react-intl-cra 'src/**/*.js' 'i18n/messages.json'",
"json2pot": "react-intl-po json2pot 'i18n/messages.json' -o 'i18n/messages.pot'",
"po2json": "react-intl-po po2json 'i18n/translations/*.po' -m 'i18n/messages.json' -o src/translations.json",
Expand Down

0 comments on commit 76ee483

Please sign in to comment.