This commit is contained in:
Rizky 2024-08-23 19:50:38 +07:00
parent c80d2a6e0d
commit 88558f4472
1 changed files with 1 additions and 4 deletions

View File

@ -52,7 +52,6 @@ export class Watcher {
) {
try {
sv.rebuilding = true;
console.log("rebuilding srv", id_site);
await sv.ctx.rebuild();
} catch (e: any) {
console.error(`Srv failed rebuild (site: ${id_site})`);
@ -65,13 +64,11 @@ export class Watcher {
if (
Array.isArray(message) &&
typeof message[1] === "string" &&
sv.inputs.has(message[1])
fe.inputs.has(message[1])
) {
fe.rebuilding = true;
try {
broadcastLoading();
console.log("rebuilding fe", id_site);
await fe.ctx.rebuild();
} catch (e: any) {
console.error(`Frontend failed rebuild (site: ${id_site})`);