Explorar o código

address comment

Eva Ho hai 1 ano
pai
achega
734892f1e2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {