Skip to content

Commit 1a62a1e

Browse files
DieserMerlinTheJaredWilcurt
authored andcommitted
Wait for NG Serve to finish before starting NW.js
1 parent 58fd564 commit 1a62a1e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"scripts": {
1515
"ng": "ng",
16-
"start": "concurrently \"npm run start:web\" \"nw .\"",
16+
"start": "concurrently \"npm run start:web\" \"wait-on http://localhost:8964 && nw .\"",
1717
"start:web": "ng serve --port=8964",
1818
"build": "npm run build:clean && npm run build:ng && npm run build:nw",
1919
"build:clean": "rimraf ./dist-ng ./dist",
@@ -61,6 +61,7 @@
6161
"tslib": "^1.9.0",
6262
"tslint": "~5.19.0",
6363
"typescript": "3.5.x",
64+
"wait-on": "^3.3.0",
6465
"zone.js": "~0.10.2"
6566
},
6667
"build": {

0 commit comments

Comments
 (0)