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

Add --workspace-concurrency to run docs #515

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maschwenk
Copy link
Sponsor

This has been a point of confusion for me for a while. I almost never use -r and instead use --filter to run my scripts. I've used:

pnpm -F packageA -F packageB -F packageC --workspace-concurrency=1 scriptName

Quite a bit and it works. I've always wondered why --workspace-concurrency was only buried in the recursive docs. The command above I believe is really just syntactic sugar for:

pnpm -F packageA -F packageB -F packageC --workspace-concurrency=1 run scriptName

So I think this is the right place for this to be documented? Or is It more of a global option? I assuming using --filter has nothing to do with recursive mode? It seems like it can be used to have a similar effect but is completely different tool.

Copy link

stackblitz bot commented Mar 27, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

vercel bot commented Mar 27, 2024

@maschwenk is attempting to deploy a commit to the pnpm Team on Vercel.

A member of the Team first needs to authorize it.

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

Successfully merging this pull request may close these issues.

None yet

1 participant