fix
This commit is contained in:
parent
ce958826ab
commit
cc3f6ecf07
|
|
@ -82,14 +82,17 @@ export const initFrontEnd = async (
|
||||||
async (event, filename) => {
|
async (event, filename) => {
|
||||||
const fe = code.internal.frontend[id_site];
|
const fe = code.internal.frontend[id_site];
|
||||||
const srv = code.internal.server[id_site];
|
const srv = code.internal.server[id_site];
|
||||||
|
|
||||||
if (
|
if (
|
||||||
filename?.startsWith("node_modules") ||
|
filename?.startsWith("node_modules") ||
|
||||||
filename?.startsWith("typings")
|
filename?.startsWith("typings") ||
|
||||||
|
filename?.endsWith(".log")
|
||||||
)
|
)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
event, filename,
|
event,
|
||||||
|
filename,
|
||||||
typeof fe !== "undefined" && !fe.rebuilding
|
typeof fe !== "undefined" && !fe.rebuilding
|
||||||
? "start-rebuild"
|
? "start-rebuild"
|
||||||
: "rebuilding..."
|
: "rebuilding..."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue