UNPKG

234 BTypeScriptView Raw
1export declare class FileWatcher {
2 static watch(paths: string | string[], sits: ("add" | "change" | "unlink")[], callback: (changedFiles: {
3 type: string;
4 filePath: string;
5 }[]) => void): Promise<void>;
6}