Skip to content

Commit 44bcd24

Browse files
committed
fix: revert dev.ts to use pnpm exec (shipped to end users via npx)
1 parent 699aaf8 commit 44bcd24

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/cli/src/commands

packages/cli/src/commands/dev.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default defineCommand({
6161
});
6262

6363
/**
64-
* Dev mode: spawn studio from the monorepo (existing behavior).
64+
* Dev mode: spawn pnpm studio from the monorepo (existing behavior).
6565
*/
6666
async function runDevMode(dir: string): Promise<void> {
6767
// Find monorepo root by navigating from packages/cli/src/commands/
@@ -105,7 +105,7 @@ async function runDevMode(dir: string): Promise<void> {
105105

106106
// Run the new consolidated studio (single Vite dev server with API plugin)
107107
const studioPkgDir = join(repoRoot, "packages", "studio");
108-
const child = spawn("bunx", ["vite"], {
108+
const child = spawn("pnpm", ["exec", "vite"], {
109109
cwd: studioPkgDir,
110110
stdio: ["ignore", "pipe", "pipe"],
111111
});

0 commit comments

Comments
 (0)