1 | import { FileCache } from '../util/file-cache';
|
2 | export declare class WatchMemorySystem {
|
3 | private fileCache;
|
4 | private srcDir;
|
5 | private changes;
|
6 | private isAggregating;
|
7 | private isListening;
|
8 | private lastWatchEventTimestamp;
|
9 | private filePathsBeingWatched;
|
10 | private dirPaths;
|
11 | private missing;
|
12 | private startTime;
|
13 | private options;
|
14 | private immediateCallback;
|
15 | private aggregatedCallback;
|
16 | constructor(fileCache: FileCache, srcDir: string);
|
17 | close(): void;
|
18 | pause(): void;
|
19 | watch(filePathsBeingWatched: string[], dirPaths: string[], missing: string[], startTime: number, options: any, aggregatedCallback: (err: Error, changesFilePaths: string[]) => void, immediateCallback: (filePath: string, timestamp: number) => void): {
|
20 | pause: () => void;
|
21 | close: () => void;
|
22 | };
|
23 | startListening(): void;
|
24 | processChanges(filePaths: string[]): void;
|
25 | doneAggregating(changes: Set<string>): void;
|
26 | getTimes(allFiles: string[], startTime: number, fileCache: FileCache): any;
|
27 | }
|