Commit b08c4ca2 authored by hoyyeva's avatar hoyyeva Committed by Eva Ho
Browse files

Update app/src/index.ts


Co-authored-by: default avatarJeffrey Morgan <251292+jmorganca@users.noreply.github.com>
parent 734892f1
......@@ -117,13 +117,8 @@ function server() {
proc.on('exit', (code, signal) => {
if (!code) {
logger.info('Server has stopped.')
setTimeout(server, 5000)
} else {
logger.error(`Server exited with code: ${code}, signal: ${signal}`)
setTimeout(server, 3000)
}
logger.error(`Server exited with code: ${code}`)
setTimeout(server, 3000)
})
app.on('before-quit', () => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment