Skip to content

Commit

Permalink
fix(builder): add watch mode for tsup build
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcherGu committed Jun 8, 2022
1 parent 7a4a405 commit a92ca33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/builder/node/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export async function dev(type: AppType) {
}
}
}
await doTsupBuild({ esbuildOptions, ...tsupOptions }, dsEnv)
await doTsupBuild({ esbuildOptions, ...tsupOptions, watch: true }, dsEnv)
}

const { electron: electronConfig } = config
Expand Down

0 comments on commit a92ca33

Please sign in to comment.