I have a project with 5 microservices on nestjs and it takes a very long time to run each one manually. I have a main microservice, when I start it, I want the rest of the microservices to start. How should I do it? If there are similar options, please suggest
I think there is not an official way to do it. I use this library concurrently . Then you can do something like:
concurrently "yarn run start:api-gateway:dev" "yarn run start:identity:dev"
And you will see all logs in the same terminal window.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.