We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7903ae commit 533eac8Copy full SHA for 533eac8
lib/e2b.ts
@@ -52,7 +52,10 @@ export async function createSandbox({ files }: { files: z.infer<typeof benchifyF
52
}
53
54
// Run the Vite app
55
- await sandbox.commands.run('cd /home/user/app && npx vite');
+ sandbox.commands.run('npx vite --host', {
56
+ cwd: '/home/user/app',
57
+ timeoutMs: 0,
58
+ })
59
60
return {
61
sbxId: sandbox.sandboxId,
0 commit comments