Use different kill method for watcher

This commit is contained in:
Chi Vinh Le
2018-07-13 02:00:23 -03:00
parent cf1c5c58c2
commit 05552f7a84
6 changed files with 56 additions and 16 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export interface Watcher {
export interface Executor {
onInit?(): void;
onCleanup?(): void;
onCleanup?(): void | Promise<void>;
execute(filePath: string): void;
}