From be914f83786453be768e14e6aa3f5bcc5f6ba80e Mon Sep 17 00:00:00 2001 From: Adam Scott Date: Tue, 21 Oct 2014 14:21:50 -0400 Subject: [PATCH] watch both js and sass changes with a single npm script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3484185cd..c20d288fe 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ "watch": "watchify static/js/init.js -o static/js/app.js --debug --verbose", "build": "browserify static/js/init.js > static/js/app.js", "sass-watch": "sass --watch static/styles/sass/styles.scss:static/styles/styles.css", - "sass-build": "sass static/styles/sass/styles.scss:static/styles/styles.css" + "sass-build": "sass static/styles/sass/styles.scss:static/styles/styles.css", + "watch-all": "npm run watch & npm run sass-watch" }, "repository": { "type": "git",