diff --git a/app/src/index.ts b/app/src/index.ts index 8394ff0b..f061034a 100644 --- a/app/src/index.ts +++ b/app/src/index.ts @@ -117,7 +117,7 @@ function server() { proc.on('exit', (code, signal) => { - if (code === 0 || code === null) { + if (!code) { logger.info('Server has stopped.') setTimeout(server, 5000) } else {