-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
nx run-many only serves the first 3 specified projects #2088
Comments
You should be able to work around this by setting the nx run-many --target=serve --projects=one,two,three,four --parallel --maxParallel=100 The default value for To avoid further confusion about this situation, there could be a warning logged when the "serve" target is used with the |
This is actually a use-case for run-many we didn't consider :) @AdamVig a warning is a good idea, probably not something we are going to do right now, but we would likely accept a PR for it |
I'm using nx in a kind of microfront ends and I also want to run several at the same time on the same port, but with different paths ... how would it be possible to do that? do these solutions work or should i go for the idea of a proxy? |
Just have a quick question how we can serve multiple applications with port as well... Can we do that with nx run-many based on following example apps then the command should be like that notice i have provided port numbers for only angular applications and for the nest we can control that from environment files |
add the port for each app in its respective serve option in workspace.json |
Could you provide an example or link? Unsure how to pass that param to EDIT: |
|
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
"@nrwl/workspace": "^8.8.0"
Expected Behavior
all specified projects get served, when running
nx run-many --target=serve --projects=<more than 3 projects> --parallel
Current Behavior
only the first 3 projects get served
Failure Information (for bugs)
console outputs:
nx run-many --target=serve --projects=one,two,three,four --parallel
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
npx create-nx-workspace@latest nx-min
cd nx-min
nx g @nrwl/nest:application one
nx g @nrwl/nest:application two
nx g @nrwl/nest:application three
nx g @nrwl/nest:application four
nx run-many --target=serve --projects=one,two,three,four --parallel
Context
Please provide any relevant information about your setup:
nx report
:The text was updated successfully, but these errors were encountered: