fix subprocess

This commit is contained in:
Rizky
2024-08-15 21:42:34 +07:00
parent ff139e3846
commit 599ec7b777
4 changed files with 23 additions and 26 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ export const _ = {
const deploys = fs.readdirSync(dir(`/app/web/deploy`));
if (g.mode === "prod") {
postMessage("restart");
process?.send?.("restart");
}
return {