pnpm exec to run command sequentially #3712
Answered
by
zkochan
privatenumber
asked this question in
Q&A
-
How can I make The documentation of the $ pnpm -r exec -- node -e 'setTimeout(() => console.log(process.env.PNPM_PACKAGE_NAME, new Date()), 5000)'
root-package 2021-08-25T23:52:04.413Z
subpackage-a 2021-08-25T23:52:04.414Z
subpackage-b 2021-08-25T23:52:04.420Z
subpackage-c 2021-08-25T23:52:04.420Z
subpackage-d 2021-08-25T23:52:09.498Z Subpackages a, b, and c are logged at the same time (runs in parallel), and subpackage d is logged with a 5 second delay (sequential). I would like for a, b, c, and d to log with a 5 second delay in between them all. |
Beta Was this translation helpful? Give feedback.
Answered by
zkochan
Aug 26, 2021
Replies: 1 comment 1 reply
-
You can run it with |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
privatenumber
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can run it with
--workspace-concurrency=1