Ass src/sass in the watch list for node-sass
authorymh <ymh.work@gmail.com>
Wed, 21 Jun 2017 08:45:29 +0200
changeset 70 dff58e6bea47
parent 69 2f42063b0869
child 71 75dc1e794cf4
Ass src/sass in the watch list for node-sass
client/package.json
--- a/client/package.json	Wed Jun 21 04:37:30 2017 +0200
+++ b/client/package.json	Wed Jun 21 08:45:29 2017 +0200
@@ -32,8 +32,8 @@
     "react-test-renderer": "^15.5.4"
   },
   "scripts": {
-    "build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules --include-path ./node_modules/bootstrap-sass/assets/stylesheets src/ -o src/",
-    "watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules --include-path ./node_modules/bootstrap-sass/assets/stylesheets src/ -o src/ --watch --recursive",
+    "build-css": "node-sass-chokidar --include-path ./src --include-path ./src/sass --include-path ./node_modules --include-path ./node_modules/bootstrap-sass/assets/stylesheets src/ -o src/",
+    "watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./src/sass --include-path ./node_modules --include-path ./node_modules/bootstrap-sass/assets/stylesheets src/ -o src/ --watch --recursive",
     "start-js": "react-scripts start",
     "start": "npm-run-all -p watch-css start-js",
     "build": "npm run build-css && react-scripts build",