fix
This commit is contained in:
parent
2474b88931
commit
88cf1b9875
|
|
@ -85,6 +85,7 @@ export const initFrontEnd = async (
|
||||||
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("server.ts") ||
|
||||||
filename?.startsWith("typings")
|
filename?.startsWith("typings")
|
||||||
)
|
)
|
||||||
return;
|
return;
|
||||||
|
|
@ -103,7 +104,7 @@ export const initFrontEnd = async (
|
||||||
await fe.ctx.dispose();
|
await fe.ctx.dispose();
|
||||||
fe.ctx = await initBuildCtx({ id_site, root });
|
fe.ctx = await initBuildCtx({ id_site, root });
|
||||||
}, 3000);
|
}, 3000);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
broadcastLoading();
|
broadcastLoading();
|
||||||
await fe.ctx.rebuild();
|
await fe.ctx.rebuild();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue