Browse Source

address comment

Eva Ho 1 year ago
parent
commit
734892f1e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/index.ts

+ 1 - 1
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 {