From c80d2a6e0d73c134359d00eaae92c0fa4af9a3ce Mon Sep 17 00:00:00 2001 From: Rizky Date: Fri, 23 Aug 2024 19:36:10 +0700 Subject: [PATCH] fix --- app/srv/ws/sync/code/parts/watcher.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/srv/ws/sync/code/parts/watcher.ts b/app/srv/ws/sync/code/parts/watcher.ts index 926722b8..eab6979d 100644 --- a/app/srv/ws/sync/code/parts/watcher.ts +++ b/app/srv/ws/sync/code/parts/watcher.ts @@ -52,6 +52,7 @@ export class Watcher { ) { try { sv.rebuilding = true; + console.log("rebuilding srv", id_site); await sv.ctx.rebuild(); } catch (e: any) { console.error(`Srv failed rebuild (site: ${id_site})`); @@ -69,6 +70,8 @@ export class Watcher { fe.rebuilding = true; try { broadcastLoading(); + console.log("rebuilding fe", id_site); + await fe.ctx.rebuild(); } catch (e: any) { console.error(`Frontend failed rebuild (site: ${id_site})`);