Also watch common for rebuild
parent
9568b641a4
commit
e29b70cf73
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue