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

Start / wait for multiple services #248

Closed
bahmutov opened this issue Apr 14, 2020 · 2 comments · Fixed by #249
Closed

Start / wait for multiple services #248

bahmutov opened this issue Apr 14, 2020 · 2 comments · Fixed by #249

Comments

@bahmutov
Copy link
Owner

If we need to start API and the web server, we need to jump through hoops right now. It would be so nice to say if API starts at port 1234 and web server runs at port 8080:

{
  "scripts": {
    "dev": "start-test start:api 1234 start:web 8080 cy:open",
    "start:api": "node server-api",
    "start:web": "react-scripts start",
    "cy:open": "cypress open"
  }
}
@bahmutov
Copy link
Owner Author

Note: this is similar to #65 BUT each service starts separately and waits, before starting the next server. For example, web server could start quickly while API could take a while to start, and starting in parallel might not work

@bahmutov
Copy link
Owner Author

🎉 This issue has been resolved in version 1.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant