Skip to content

Commit 5b45829

Browse files
authored
fix: typegen never exits when use with cloudflare plugin (#127)
close #126 closing vite server won't close the wranler proxy
1 parent ab16639 commit 5b45829

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ async function run() {
66
const { runner, server } = await createContext();
77
await runner.executeFile(path.resolve(import.meta.dirname, '../dist/empty.js'));
88
await server.close();
9+
process.exit(0);
910
}
1011

1112
const command = process.argv[2];

0 commit comments

Comments
 (0)