Replies: 2 comments
|
Yes, I can reproduce this with pnpm 12.1.0. The same config starts both scripts together on pnpm 11.24.0, but pnpm 12 waits for the first script to finish before starting the second. Since your dev processes keep running, This looks like a pnpm 12 regression. The docs say regex-matched scripts should run concurrently unless https://pnpm.io/cli/run#running-multiple-scripts For now, the safest fix is to stay on pnpm 11: {
"packageManager": "pnpm@11.24.0"
}If you need pnpm 12, I tested this workaround successfully: pnpm add -D concurrently@9{
"scripts": {
"client:dev": "NODE_ENV=development node ./esbuild.ts",
"server:dev": "wrangler dev --live-reload",
"dev": "concurrently --kill-others-on-fail \"pnpm run client:dev\" \"pnpm run server:dev\""
}
}Both commands started together with this setup. |
0 replies
|
Thanks for confirming. I could not find an existing issue for this |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Anyone else having trouble running scripts in parallel with v12? It works fine in v11 for me with the same configuration.
With v12, it only runs the first command without the prefix.
My package.json config:
All reactions