Skip to content

Commit af2110b

Browse files
committed
chore: only copy files once during build
1 parent e8c5a1e commit af2110b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if (process.env.npm_config_webviews || process.env.npm_config_client) {
8989
await ctx.rebuild();
9090

9191
if (dev) {
92-
copyFiles();
92+
process.env.npm_config_client && copyFiles();
9393
await ctx.watch();
9494
} else {
9595
await ctx.dispose();

0 commit comments

Comments
 (0)