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

pnpm --parallel exec does not prefix the output #8065

Open
2 of 4 tasks
Leksat opened this issue May 9, 2024 · 0 comments
Open
2 of 4 tasks

pnpm --parallel exec does not prefix the output #8065

Leksat opened this issue May 9, 2024 · 0 comments

Comments

@Leksat
Copy link

Leksat commented May 9, 2024

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

No response

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

Run pnpm --parallel exec echo "ok" in a monorepo

Describe the Bug

From https://pnpm.io/cli/exec

--parallel
Completely disregard concurrency and topological sorting, running a given script immediately in all matching packages with prefixed streaming output. This is the preferred flag for long-running processes over many packages, for instance, a lengthy build process.

However, the output is not prefixed

$ pnpm --parallel exec echo "ok"
ok
ok
ok

Expected Behavior

Something like

$ pnpm --parallel exec echo "ok"
packageA: ok
packageB: ok
packageC: ok

Similarly to pnpm --parallel run

Which Node.js version are you using?

18.19.0

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

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

No branches or pull requests

1 participant