fix
This commit is contained in:
parent
65e1d2bfd7
commit
ce958826ab
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue