Also watch common for rebuild

pull/1205/head
Zef Hemel 2025-01-10 13:52:23 +01:00
parent 9568b641a4
commit e29b70cf73
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ export async function bundleAll(
await buildCopyBundleAssets(); await buildCopyBundleAssets();
let timer; let timer;
if (watch) { if (watch) {
const watcher = Deno.watchFs(["web", "dist_plug_bundle"]); const watcher = Deno.watchFs(["web", "common", "dist_plug_bundle"]);
for await (const _event of watcher) { for await (const _event of watcher) {
if (timer) { if (timer) {
clearTimeout(timer); clearTimeout(timer);