diff options
| author | Johann-S <[email protected]> | 2017-04-28 13:43:42 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2017-04-29 16:43:51 +0200 |
| commit | dbe8e554bb0df9175c31c68efa05f89ef26461fc (patch) | |
| tree | 043cdb05b3816bb2b663a38631dd2e22205b2854 | |
| parent | 482052585eee27bd8f3b315c2cce9120ecd11559 (diff) | |
| download | bootstrap-dbe8e554bb0df9175c31c68efa05f89ef26461fc.tar.xz bootstrap-dbe8e554bb0df9175c31c68efa05f89ef26461fc.zip | |
Add watch-css and watch-js + a global watch command
| -rw-r--r-- | package.json | 4 |
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", |
