From da2a5502a3b0c316d86b44fc093938807ef3d9c0 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Thu, 24 Oct 2024 11:24:20 +0200 Subject: [PATCH] we need both initial build and watching --- utils/build/build.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/utils/build/build.js b/utils/build/build.js index 172808b34c..ade19307cd 100644 --- a/utils/build/build.js +++ b/utils/build/build.js @@ -275,7 +275,7 @@ for (const bundle of bundles) { }); } -// Build/watch trace viewer service worker. +// initial service worker build. steps.push({ command: 'npx', args: [ @@ -283,12 +283,11 @@ steps.push({ '--config', 'vite.sw.config.ts', 'build', - ...(watchMode ? ['--watch', '--minify=false'] : []), ...(withSourceMaps ? ['--sourcemap=inline'] : []), ], shell: true, cwd: path.join(__dirname, '..', '..', 'packages', 'trace-viewer'), - concurrent: !watchMode, + concurrent: false, }); // Build/watch web packages.