aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-04-28 13:43:42 +0200
committerJohann-S <[email protected]>2017-04-29 16:43:51 +0200
commitdbe8e554bb0df9175c31c68efa05f89ef26461fc (patch)
tree043cdb05b3816bb2b663a38631dd2e22205b2854
parent482052585eee27bd8f3b315c2cce9120ecd11559 (diff)
downloadbootstrap-dbe8e554bb0df9175c31c68efa05f89ef26461fc.tar.xz
bootstrap-dbe8e554bb0df9175c31c68efa05f89ef26461fc.zip
Add watch-css and watch-js + a global watch command
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json
index 5440548a5..7e9ee3c75 100644
--- a/package.json
+++ b/package.json
@@ -54,7 +54,9 @@
"release-zip": "cd dist/ && zip -r9 bootstrap-$npm_package_version-dist.zip * && shx mv bootstrap-$npm_package_version-dist.zip ..",
"dist": "npm-run-all --parallel css js",
"test": "npm-run-all dist js-test docs",
- "watch": "nodemon -e scss -x \"npm run css && npm run css-docs\""
+ "watch-css": "nodemon --ignore js/ --ignore dist/ -e scss -x \"npm run css && npm run css-docs\"",
+ "watch-js": "nodemon --ignore scss/ --ignore js/dist/ --ignore dist/ -e js -x \"npm run js-compile\"",
+ "watch": "npm-run-all --parallel watch-css watch-js"
},
"style": "dist/css/bootstrap.css",
"sass": "scss/bootstrap.scss",