Optionaloptions: Partial<ParcelFileSystemWatcherServerOptions>ProtectedclientProtected Readonlymaybethis.client is undefined until someone sets it.
Protected ReadonlyoptionsProtected ReadonlywatcherProtectedwatcherProtected ReadonlywatchersProtectedcreateProtecteddebugeslint-disable-next-line @typescript-eslint/no-explicit-any
Dispose this object.
ProtectedgetGiven some URI and some WatchOptions, generate a unique key.
ProtectedresolveIf this server is a proxy to a remote server then a client is used as a local object to handle RPC messages from the remote server.
handle mapping to a previous watchFileChanges request.
A specific client requests us to watch a given uri according to some options.
We internally re-use all the same (uri, options) pairs.
Optionaloptions: WatchOptions
Singleton implementation of the watch server.
Since multiple clients all make requests to this service, we need to track those individually via a
clientId.