add filed issue

This commit is contained in:
Simon Knott 2024-11-13 13:36:40 +01:00
parent 04a62cd2ec
commit 7e56473358
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -295,6 +295,7 @@ if (watchMode) {
// the build above outputs into `packages/trace-viewer/public`, where the `vite build` for `packages/trace-viewer` is supposed to pick it up. // the build above outputs into `packages/trace-viewer/public`, where the `vite build` for `packages/trace-viewer` is supposed to pick it up.
// there's a bug in `vite build --watch` though where the public dir is only copied over initially, but its not watched. // there's a bug in `vite build --watch` though where the public dir is only copied over initially, but its not watched.
// to work around this, we run a second watch build of the service worker into the final output. // to work around this, we run a second watch build of the service worker into the final output.
// bug: https://github.com/vitejs/vite/issues/18655
steps.push({ steps.push({
command: 'npx', command: 'npx',
args: [ args: [