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

Commit

Permalink
chore: delay client start until server is available
Browse files Browse the repository at this point in the history
  • Loading branch information
coder2000 committed May 11, 2020
1 parent 74689d0 commit 94178bd
Show file tree
Hide file tree
Showing 2 changed files with 288 additions and 272 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
"packages/*"
],
"scripts": {
"start:client:dev": "yarn workspace speakrr-client start:dev",
"start:client:dev": "wait-on http://localhost:3000 && yarn workspace speakrr-client start:dev",
"start:server:dev": "yarn workspace speakrr-server start:dev",
"start:dev": "concurrently --kill-others-on-fail \"yarn start:server:dev\" \"yarn start:client:dev\""
},
"nohoist": [
"**/typeorm/**",
"**/typeorm"
],
"dependencies": {
"concurrently": "^5.2.0"
"devDependencies": {
"concurrently": "^5.2.0",
"wait-on": "^5.0.0"
}
}
Loading

0 comments on commit 94178bd

Please sign in to comment.