fix
This commit is contained in:
parent
5f97ccb5c4
commit
7669cc8aaf
|
|
@ -163,11 +163,9 @@ export const _ = {
|
|||
await deploy.init();
|
||||
const deploys = fs.readdirSync(dir(`/app/web/deploy`));
|
||||
|
||||
if (g.main.process) {
|
||||
if (g.mode === "prod") {
|
||||
setTimeout(() => {
|
||||
if (g.main.process) {
|
||||
g.main.process.kill();
|
||||
}
|
||||
process.exit();
|
||||
}, 500);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue