address comment
This commit is contained in:
parent
d2bfaeac63
commit
734892f1e2
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue