Skip to content

Commit 5d3c5f6

Browse files
authored
Merge pull request #8 from fhlavac/start
Update the start script
2 parents e9477a5 + c6502b9 commit 5d3c5f6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"scripts": {
1111
"build": "npm run build:packages && npm run build:fed:packages",
12-
"build:watch": "npm run build:packages:watch && npm run build:fed:packages",
12+
"build:watch": "concurrently \"npm run build:packages:watch\" \"npx wait-on packages/module/dist/esm && npm run build:fed:packages\"",
1313
"build:docs": "npm run docs:build -w @patternfly/react-data-view",
1414
"build:packages": "npm run build -w @patternfly/react-data-view",
1515
"build:packages:watch": "npm run build:watch -w @patternfly/react-data-view",
@@ -18,7 +18,7 @@
1818
"cypress:run:ci:cp": "cypress run --component",
1919
"cypress:run:e2e": "cypress run --headless",
2020
"cypress:run:ci:e2e": "start-server-and-test start http://localhost:8006 cypress:run:e2e",
21-
"start": "concurrently --kill-others \"npm run build:watch\" \"npm run docs:develop -w @patternfly/react-data-view\"",
21+
"start": "concurrently \"npm run build:watch\" \"npx wait-on packages/module/dist && npm run docs:develop -w @patternfly/react-data-view\"",
2222
"serve:docs": "npm run docs:serve -w @patternfly/react-data-view",
2323
"clean": "npm run clean -w @patternfly/react-data-view",
2424
"lint:js": "node --max-old-space-size=4096 node_modules/.bin/eslint packages --ext js,jsx,ts,tsx --cache",
@@ -79,6 +79,7 @@
7979
"start-server-and-test": "^2.0.3",
8080
"surge": "^0.23.1",
8181
"ts-jest": "29.1.2",
82+
"wait-on": "^7.2.0",
8283
"whatwg-fetch": "^3.6.20"
8384
}
8485
}

0 commit comments

Comments
 (0)