From ce958826ab4f3e6469232357b777a3ac5c108426 Mon Sep 17 00:00:00 2001 From: Rizky Date: Fri, 16 Aug 2024 10:08:59 +0700 Subject: [PATCH] fix --- app/srv/ws/sync/code/parts/init/frontend.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/srv/ws/sync/code/parts/init/frontend.ts b/app/srv/ws/sync/code/parts/init/frontend.ts index f389529c..3ea1e460 100644 --- a/app/srv/ws/sync/code/parts/init/frontend.ts +++ b/app/srv/ws/sync/code/parts/init/frontend.ts @@ -88,18 +88,18 @@ export const initFrontEnd = async ( ) return; + console.log( + event, filename, + typeof fe !== "undefined" && !fe.rebuilding + ? "start-rebuild" + : "rebuilding..." + ); if ( filename?.endsWith(".tsx") || filename?.endsWith(".ts") || filename?.endsWith(".css") || filename?.endsWith(".html") ) { - console.log( - filename, - typeof fe !== "undefined" && !fe.rebuilding - ? "start-rebuild" - : "rebuilding..." - ); if (typeof fe !== "undefined" && !fe.rebuilding) { fe.rebuilding = true; clearTimeout(fe.timeout);