Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(dev): wait for backend to be ready before starting frontend (fehmer) #5121

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading