From e29b70cf734216c69fd3503a6ac894d0b15572e7 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Fri, 10 Jan 2025 13:52:23 +0100 Subject: [PATCH] Also watch common for rebuild --- build_web.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_web.ts b/build_web.ts index 1603c1d1..ebc13abb 100644 --- a/build_web.ts +++ b/build_web.ts @@ -16,7 +16,7 @@ export async function bundleAll( await buildCopyBundleAssets(); let timer; 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) { if (timer) { clearTimeout(timer);