fix
This commit is contained in:
parent
5f97ccb5c4
commit
7669cc8aaf
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue