This commit is contained in:
Rizky 2024-08-23 19:36:10 +07:00
parent d89e341c7c
commit c80d2a6e0d
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,7 @@ 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})`);
@ -69,6 +70,8 @@ export class Watcher {
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})`);