This commit is contained in:
Rizky 2024-08-15 22:06:56 +07:00
parent 453c7de252
commit 65e1d2bfd7
1 changed files with 6 additions and 1 deletions

View File

@ -94,7 +94,12 @@ export const initFrontEnd = async (
filename?.endsWith(".css") || filename?.endsWith(".css") ||
filename?.endsWith(".html") 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) { if (typeof fe !== "undefined" && !fe.rebuilding) {
fe.rebuilding = true; fe.rebuilding = true;
clearTimeout(fe.timeout); clearTimeout(fe.timeout);