Skip to content
This repository was archived by the owner on Mar 28, 2024. It is now read-only.

Commit 94178bd

Browse files
committed
chore: delay client start until server is available
1 parent 74689d0 commit 94178bd

File tree

2 files changed

+288
-272
lines changed

2 files changed

+288
-272
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
"packages/*"
66
],
77
"scripts": {
8-
"start:client:dev": "yarn workspace speakrr-client start:dev",
8+
"start:client:dev": "wait-on http://localhost:3000 && yarn workspace speakrr-client start:dev",
99
"start:server:dev": "yarn workspace speakrr-server start:dev",
1010
"start:dev": "concurrently --kill-others-on-fail \"yarn start:server:dev\" \"yarn start:client:dev\""
1111
},
1212
"nohoist": [
1313
"**/typeorm/**",
1414
"**/typeorm"
1515
],
16-
"dependencies": {
17-
"concurrently": "^5.2.0"
16+
"devDependencies": {
17+
"concurrently": "^5.2.0",
18+
"wait-on": "^5.0.0"
1819
}
1920
}

0 commit comments

Comments
 (0)