1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- import { EventEmitter } from 'events';
- import { Matcher } from 'anymatch';
- declare class FSEventsWatcher extends EventEmitter {
- readonly root: string;
- readonly ignored?: Matcher;
- readonly glob: Array<string>;
- readonly dot: boolean;
- readonly hasIgnore: boolean;
- readonly doIgnore: (path: string) => boolean;
- readonly fsEventsWatchStopper: () => Promise<void>;
- private _tracked;
- static isSupported(): boolean;
- private static normalizeProxy;
- private static recReaddir;
- constructor(dir: string, opts: {
- root: string;
- ignored?: Matcher;
- glob: string | Array<string>;
- dot: boolean;
- });
-
- close(callback?: () => void): Promise<void>;
- private isFileIncluded;
- private handleEvent;
-
- private _emit;
- }
- export = FSEventsWatcher;
|