Skip to content

Commit

Permalink
fix: typegen never exits when use with cloudflare plugin (#127)
Browse files Browse the repository at this point in the history
close #126

closing vite server won't close the wranler proxy
  • Loading branch information
yesmeck authored Jan 4, 2025
1 parent ab16639 commit 5b45829
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ async function run() {
const { runner, server } = await createContext();
await runner.executeFile(path.resolve(import.meta.dirname, '../dist/empty.js'));
await server.close();
process.exit(0);
}

const command = process.argv[2];
Expand Down

0 comments on commit 5b45829

Please sign in to comment.