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 (typeof this.options.commandToExecute === 'string') {
|
||||||
if (this.currentExecution) {
|
if (this.currentExecution) {
|
||||||
logger.log('ok', `reexecuting ${this.options.commandToExecute}`);
|
logger.log('ok', `reexecuting ${this.options.commandToExecute}`);
|
||||||
process.kill(-this.currentExecution.childProcess.pid);
|
process.kill(this.currentExecution.childProcess.pid, 'SIGQUIT');
|
||||||
} else {
|
} else {
|
||||||
logger.log('ok', `executing ${this.options.commandToExecute} for the first time`);
|
logger.log('ok', `executing ${this.options.commandToExecute} for the first time`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user