Commit 4b2d2c3c authored by yann300's avatar yann300

ensure process is terminated

parent 07064291
...@@ -80,6 +80,7 @@ function startService<S extends 'git' | 'folder'> (service: S, callback: (ws: WS ...@@ -80,6 +80,7 @@ function startService<S extends 'git' | 'folder'> (service: S, callback: (ws: WS
console.log(e) console.log(e)
} }
} }
process.exit(0)
} }
process.on('SIGINT', kill) // catch ctrl-c process.on('SIGINT', kill) // catch ctrl-c
......
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