Skip to content

Commit d6f1210

Browse files
chore(packaging): add build watching when running the dev server
1 parent 35cc775 commit d6f1210

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
],
1010
"scripts": {
1111
"build": "yarn workspace @patternfly/widgetized-dashboard build",
12+
"build:watch": "yarn workspace @patternfly/widgetized-dashboard build:watch",
1213
"build:docs": "yarn workspace @patternfly/widgetized-dashboard docs:build",
1314
"build:fed:packages": "yarn workspace @patternfly/widgetized-dashboard build:fed:packages",
14-
"start": "yarn build && concurrently --kill-others \"yarn workspace @patternfly/widgetized-dashboard docs:develop\"",
15+
"start": "concurrently --kill-others \"yarn build:watch\" \"yarn workspace @patternfly/widgetized-dashboard docs:develop\"",
1516
"serve:docs": "yarn workspace @patternfly/widgetized-dashboard docs:serve",
1617
"clean": "yarn workspace @patternfly/widgetized-dashboard clean",
1718
"lint:js": "node --max-old-space-size=4096 node_modules/.bin/eslint packages --cache",

packages/module/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"module": "dist/esm/index.js",
77
"scripts": {
88
"build": "tsc --build --verbose ./tsconfig.json",
9+
"build:watch": "tsc --build --verbose --watch ./tsconfig.json",
910
"build:fed:packages": "node generate-fed-package-json.js",
1011
"clean": "rimraf dist",
1112
"docs:develop": "pf-docs-framework start",

0 commit comments

Comments
 (0)