Studio bundle missing
The preview server started, but this CLI build does not contain the Studio assets.
bun run build
`,
500,
);
}
let html = readFileSync(indexPath, "utf-8");
// Inject before the studio bundle runs. Identity script first (see
// buildStudioHeadScripts) so the CLI distinct id is on `window` by the time
// telemetry init reads it.
const headScript = buildStudioHeadScripts(buildRuntimeEnvScript());
if (headScript) {
html = html.replace("", `${headScript}`);
}
return c.html(html);
});
return { app, watcher };
}