You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
442 B
13 lines
442 B
export declare class FilesWatcher {
|
|
private watchPaths;
|
|
private watchExtensions;
|
|
private watchers;
|
|
private listeners;
|
|
constructor(watchPaths: string[], watchExtensions: string[]);
|
|
isFileSupported(filePath: string): boolean;
|
|
watch(): void;
|
|
isWatchingFile(filePath: string): boolean;
|
|
isWatching(): boolean;
|
|
on(event: string, listener: Function): void;
|
|
off(event: string, listener: Function): void;
|
|
}
|
|
|