Skip to content

[Monorepo] Pnpm recursive build --watch does not trigger command for package with deps inside the monorepo #13462

Closed Answered by sapphi-red
jf-niji asked this question in Q&A
Discussion options

You must be logged in to vote

This is not a bug in Vite nor pnpm.
pnpm run waits for the command to finish before running the next command. vite build --watch will not finish unless the user interrupts.
There's a --parallel flag in pnpm for this kind of situation.
https://pnpm.io/cli/exec#--parallel

Replies: 2 comments 1 reply

This comment was marked as off-topic.

Comment options

You must be logged in to vote
1 reply
@jf-niji
Comment options

Answer selected by sapphi-red
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #13461 on June 08, 2023 10:35.