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 94fa207 commit 7b4a5c3Copy full SHA for 7b4a5c3
scripts/build.js
@@ -215,9 +215,12 @@ const common = {
215
216
async function invokeBuild(options) {
217
const ctx = await esbuild.context(options);
218
- if (watch) await ctx.watch();
219
- else await ctx.rebuild();
220
- ctx.dispose();
+ if (watch) {
+ await ctx.watch();
+ } else {
221
+ await ctx.rebuild();
222
+ ctx.dispose();
223
+ }
224
}
225
226
const srcBuild = invokeBuild({
0 commit comments