Commit 734892f1 authored by Eva Ho's avatar Eva Ho
Browse files

address comment

parent d2bfaeac
...@@ -117,7 +117,7 @@ function server() { ...@@ -117,7 +117,7 @@ function server() {
proc.on('exit', (code, signal) => { proc.on('exit', (code, signal) => {
if (code === 0 || code === null) { if (!code) {
logger.info('Server has stopped.') logger.info('Server has stopped.')
setTimeout(server, 5000) setTimeout(server, 5000)
} else { } else {
......
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