From 65e1d2bfd7e3e1cb0b4af5de8e3d73bdb06fdbe5 Mon Sep 17 00:00:00 2001 From: Rizky Date: Thu, 15 Aug 2024 22:06:56 +0700 Subject: [PATCH] fix --- app/srv/ws/sync/code/parts/init/frontend.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/srv/ws/sync/code/parts/init/frontend.ts b/app/srv/ws/sync/code/parts/init/frontend.ts index d9488dff..f389529c 100644 --- a/app/srv/ws/sync/code/parts/init/frontend.ts +++ b/app/srv/ws/sync/code/parts/init/frontend.ts @@ -94,7 +94,12 @@ export const initFrontEnd = async ( filename?.endsWith(".css") || filename?.endsWith(".html") ) { - console.log(filename, typeof fe !== "undefined" && !fe.rebuilding); + console.log( + filename, + typeof fe !== "undefined" && !fe.rebuilding + ? "start-rebuild" + : "rebuilding..." + ); if (typeof fe !== "undefined" && !fe.rebuilding) { fe.rebuilding = true; clearTimeout(fe.timeout);