Skip to content

Commit

Permalink
chore(dev): wait for backend to be ready before starting frontend (#5121
Browse files Browse the repository at this point in the history
)
  • Loading branch information
fehmer authored Feb 26, 2024
1 parent db34b13 commit 47576df
Show file tree
Hide file tree
Showing 2 changed files with 300 additions and 3 deletions.
298 changes: 297 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test": "npm run test-be && npm run test-fe",
"test-be": "cd backend && npm run test",
"test-fe": "cd frontend && npm run test",
"dev": "concurrently --kill-others \"npm run dev-fe\" \"npm run dev-be\"",
"dev": "concurrently --kill-others \"wait-for-localhost 5005 && npm run dev-fe\" \"npm run dev-be\"",
"dev-be": "cd backend && npm run dev",
"dev-fe": "cd frontend && npm run dev",
"live": "concurrently --kill-others \"cd frontend && npm run live\" \"cd backend && npm run start\"",
Expand Down Expand Up @@ -59,7 +59,8 @@
"lint-staged": "13.2.3",
"prettier": "2.5.1",
"release-it": "16.1.4",
"typescript": "5.3.3"
"typescript": "5.3.3",
"wait-for-localhost-cli": "3.1.0"
},
"lint-staged": {
"*.{json,scss,css,html}": [
Expand Down

0 comments on commit 47576df

Please sign in to comment.