This commit is contained in:
Rizky 2024-07-29 19:01:26 +07:00
parent 5f97ccb5c4
commit 7669cc8aaf
1 changed files with 2 additions and 4 deletions

View File

@ -163,11 +163,9 @@ export const _ = {
await deploy.init(); await deploy.init();
const deploys = fs.readdirSync(dir(`/app/web/deploy`)); const deploys = fs.readdirSync(dir(`/app/web/deploy`));
if (g.main.process) { if (g.mode === "prod") {
setTimeout(() => { setTimeout(() => {
if (g.main.process) { process.exit();
g.main.process.kill();
}
}, 500); }, 500);
} }