From 593296bc5fe0bb4b5245c38b692b039f4e3dbf87 Mon Sep 17 00:00:00 2001 From: Miguel Angel Simon Sierra Date: Fri, 4 Sep 2026 00:32:18 -0400 Subject: [PATCH] fix(studio): run the dev server on Node, not the Bun runtime Vite 8 bundles with Rolldown, whose native bindings do not get along with `bun --bun`: the dev server took just over five minutes to report ready, twice in a row, against 785 ms for the same server started with Node. Vite 6 did not have the problem (425 ms), so this only surfaces with the bump. Dropping `--bun` lets the vite bin run under its own shebang. The `--host 127.0.0.1` argument the flag was introduced alongside is kept. The load-smoke path (`bun run --filter '@hyperframes/studio' dev`) is green with the server ready in a second. --- packages/studio/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/studio/package.json b/packages/studio/package.json index b39bf97d34..7cfa54c4c7 100644 --- a/packages/studio/package.json +++ b/packages/studio/package.json @@ -45,7 +45,7 @@ "types": "./dist/index.d.ts" }, "scripts": { - "dev": "bun --bun ./node_modules/.bin/vite --host 127.0.0.1", + "dev": "vite --host 127.0.0.1", "build": "vite build && tsup", "typecheck": "tsc --noEmit", "test": "vitest run",