We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fda3e98 commit ba5345cCopy full SHA for ba5345c
1 file changed
src/esbuild.mjs
@@ -125,7 +125,10 @@ async function main() {
125
copyLocales(srcDir, distDir)
126
setupLocaleWatcher(srcDir, distDir)
127
} else {
128
- await Promise.all([extensionCtx.rebuild(), workerCtx.rebuild()])
+ // Run sequentially on rebuild to avoid Windows EBUSY races when both
129
+ // onEnd hooks copy the same asset directories concurrently.
130
+ await extensionCtx.rebuild()
131
+ await workerCtx.rebuild()
132
await Promise.all([extensionCtx.dispose(), workerCtx.dispose()])
133
}
134
0 commit comments