From 01d72a31e68ed9c1b8123e4fcbec785f8eb5c7e8 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Thu, 12 Mar 2026 15:53:14 -0700 Subject: [PATCH] Fix bundled CLI to explicitly call Bun.serve() The bundle doesn't use export default, so the server needs to be started explicitly. Co-Authored-By: Claude Opus 4.6 --- cli.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli.ts b/cli.ts index a7af8b8..22fa322 100644 --- a/cli.ts +++ b/cli.ts @@ -1,2 +1,3 @@ #!/usr/bin/env bun -import './src/server' +import server from './src/server' +Bun.serve(server)