The best way to control Claude Code, Codex and more from any computer or phone

main
ts 13 lines 559 Bytes
Raw
1 /**
2 * External-`main` hot-reload fixture for the ECS local-dev test: a plain
3 * Bun HTTP server (no Effect entry — the Task is declared without an inline
4 * impl, so the bundle runs as-is). The test clones this file, deploys a
5 * bundled-`main` Task from the clone, then rewrites the marker below and
6 * asserts the new marker serves WITHOUT another deploy.
7 */
8 const server = Bun.serve({
9 port: Number(process.env.PORT ?? 17360),
10 fetch: () => new Response("ecs-reload-main-v1"),
11 });
12
13 console.log(`ecs-reload-main fixture listening on ${server.port}`);