From 734892f1e25d1214f19c4fc1bcb94dc4b70cb437 Mon Sep 17 00:00:00 2001 From: Eva Ho Date: Fri, 21 Jul 2023 13:09:28 -0400 Subject: [PATCH] address comment --- app/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {