fix
This commit is contained in:
parent
65e1d2bfd7
commit
ce958826ab
|
|
@ -88,18 +88,18 @@ export const initFrontEnd = async (
|
||||||
)
|
)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
event, filename,
|
||||||
|
typeof fe !== "undefined" && !fe.rebuilding
|
||||||
|
? "start-rebuild"
|
||||||
|
: "rebuilding..."
|
||||||
|
);
|
||||||
if (
|
if (
|
||||||
filename?.endsWith(".tsx") ||
|
filename?.endsWith(".tsx") ||
|
||||||
filename?.endsWith(".ts") ||
|
filename?.endsWith(".ts") ||
|
||||||
filename?.endsWith(".css") ||
|
filename?.endsWith(".css") ||
|
||||||
filename?.endsWith(".html")
|
filename?.endsWith(".html")
|
||||||
) {
|
) {
|
||||||
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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue