Skip to content

Commit adae522

Browse files
committed
add exit code for dev code
1 parent ec7803a commit adae522

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ if (import.meta.main) {
3434
const context = await ESBuild.context(BUILD_OPTIONS);
3535
await context.watch();
3636
await context.serve({ servedir: "./dist/" });
37-
await process.status;
37+
const status = await process.status;
38+
Deno.exit(status.code);
3839
}

0 commit comments

Comments
 (0)