From 9a965745ee7a5bd441f0f03e4c137b65a49f1553 Mon Sep 17 00:00:00 2001 From: Schwitzz Date: Sun, 25 Oct 2026 09:44:09 -0500 Subject: [PATCH] server: actually invoke start() so dev/start scripts boot the server The entry point defined and exported start() but never called it, so running 'node --import tsx src/index.ts' imported the module and exited 0 without ever calling app.listen. Add a top-level start().catch() so the server binds and logs its listen addresses. --- server/src/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/src/index.ts b/server/src/index.ts index f1300e3..a37e253 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -73,3 +73,8 @@ export async function start() { await app.listen({ port: config.port, host: "0.0.0.0" }); return app; } + +start().catch((err) => { + console.error("Failed to start server:", err); + process.exit(1); +});