Skip to content
This repository was archived by the owner on Feb 12, 2020. It is now read-only.

Commit 0dcd6d0

Browse files
committed
don't overlap watchers
1 parent ed0d293 commit 0dcd6d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"scripts": {
44
"preinstall": "npm list onchange -g || npm install onchange -g",
55
"watch": "npm run -s watch:css & npm run -s watch:js",
6-
"watch:css": "onchange 'src/scss/**/*.scss' -- npm run -s css",
7-
"watch:js": "onchange 'src/js/**/*.js' -- npm run -s js",
6+
"watch:css": "onchange 'src/scss/**/*.scss' -w -- npm run -s css",
7+
"watch:js": "onchange 'src/js/**/*.js' -w -- npm run -s js",
88
"css": "npm run -s scss && npm run -s notify:css",
99
"scss": "npm_scripts/css-scss.sh",
1010
"notify:css": "npm_scripts/notify-css.sh",

0 commit comments

Comments
 (0)