diff --git a/index.js b/index.js index 6ca0409..e3307f2 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,8 @@ function start() { }) .on('exit', code => { console.error('Exited with code:', code) - if (code == "." || code == 1 || code == 0) start() + if (code == 1) return + if (code == "." || code == 0) start() }) } start() \ No newline at end of file