fix(core): update

This commit is contained in:
Philipp Kunz 2019-05-27 14:46:33 +02:00
parent 0ff482bd01
commit 828229872d

View File

@ -90,7 +90,7 @@ export class Watcher {
*/
public async stop() {
await this.smartchokWatcher.stop();
if (this.currentExecution) {
if (!this.currentExecution.childProcess.killed) {
process.kill(-this.currentExecution.childProcess.pid);
}
}