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 */
8const server = Bun.serve({
9 port: Number(process.env.PORT ?? 17360),
10 fetch: () => new Response("ecs-reload-main-v1"),
11});
12
13console.log(`ecs-reload-main fixture listening on ${server.port}`);