fix(core): update
This commit is contained in:
parent
408b6f8fc5
commit
f9b8a356e4
@ -65,7 +65,7 @@ export class Watcher {
|
||||
if (typeof this.options.commandToExecute === 'string') {
|
||||
if (this.currentExecution) {
|
||||
logger.log('ok', `reexecuting ${this.options.commandToExecute}`);
|
||||
process.kill(-this.currentExecution.childProcess.pid);
|
||||
process.kill(this.currentExecution.childProcess.pid, 'SIGQUIT');
|
||||
} else {
|
||||
logger.log('ok', `executing ${this.options.commandToExecute} for the first time`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user