-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add warning to console when serving more than 3 parallel apps #3935
Comments
Hi there! Nx treats all targets the same way, so in this case the warning would show up any time you run We could have special cased it, but I am not sure this is common enough use case to justify this. |
If I'm running 4 processes, it will run 3 without error, and silently not run the 4th process. |
A lot of Nx workspaces have hundreds of projects, so when you build/test/lint stuff in parallel, you would never have all your projects built/tested/linted at the same time. For many of them, it's not possible to run them at the same time, because their deps have to be built first. The only thing I can think of is to change this:
To something like this:
My concern is that for most commands this will be unnecessary noise. |
NX allows to build/test/lint many projects. But how to run more than 3 projects in NX? Does NX recommend serving more than 3 projects in parallel? We are using I appreciate any guidance on this. |
I don't think Something like this:
You can then run it like this: I'm going to close this issue because we aren't planning to add a warning at the moment. Sorry about it. |
FWIW, if anyone's wondering about the limit of 3 parallel apps mentioned in the title of this issue, it seems like it doesn't apply to @vsavkin's proposal to use
Thank you, @vsavkin |
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. |
Description
See terminal output some sort of warning that not all apps are served
Motivation
Give better feedback to what is happening under the hood.
Suggested Implementation
Output warning depending on number of apps running & value of max parallel flag
Alternate Implementations
N/A
Relates to #2088
The text was updated successfully, but these errors were encountered: