153
return this.universalWatcher.watch(this.universalWatchRequests);
154
}
156
>
protected abstract createUniversalWatcher(
157
>
onChange: (changes: IFileChange[]) => void,
158
>
onLogMessage: (msg: ILogMessage) => void,
159
>
verboseLogging: boolean
160
>
): AbstractUniversalWatcherClient;
161
>
162
>
//#endregion
163
>
164
>
//#region File Watching (non-recursive)
165
>
166
>
private nonRecursiveWatcher: AbstractNonRecursiveWatcherClient | undefined;
167
>
168
>
private readonly nonRecursiveWatchRequests: INonRecursiveWatchRequest[] = [];
169
>
private readonly nonRecursiveWatchRequestDelayer = this._register(new ThrottledDelayer<void>(this.getRefreshWatchersDelay(this.nonRecursiveWatchRequests.length)));
170
171
private watchNonRecursive(resource: URI, opts: IWatchOptions): IDisposable {