diff options
| author | Mark Otto <[email protected]> | 2017-05-26 21:41:36 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-05-27 15:28:41 -0700 |
| commit | 793e84400cec314198df38b6ae0a06e4711f72de (patch) | |
| tree | 43719eff3fce0a57ab4cd80255c1118d3c679542 /package.json | |
| parent | db44e4b311317ef760f8412cc33c84146959b248 (diff) | |
| download | bootstrap-793e84400cec314198df38b6ae0a06e4711f72de.tar.xz bootstrap-793e84400cec314198df38b6ae0a06e4711f72de.zip | |
Add `docs-clean` task to watch scripts
Without this, the CSS and JS files don't get copied over to the `docs/dist/` folder during development. I imagine we can simplify this and not run it twice, and instead run it once? Unsure.
/cc @johann-s
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index 881a5b806..9ee855d58 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "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-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-css": "nodemon --ignore js/ --ignore dist/ -e scss -x \"npm run css && npm run css-docs && npm run docs-clean\"", + "watch-js": "nodemon --ignore scss/ --ignore js/dist/ --ignore dist/ -e js -x \"npm run js-compile && npm run docs-clean\"", "watch": "npm-run-all --parallel watch-css watch-js" }, "style": "dist/css/bootstrap.css", |
