Optional
options: Partial<ParcelFileSystemWatcherServerOptions>Protected
clientProtected
Readonly
maybethis.client
is undefined until someone sets it.
Protected
Readonly
optionsProtected
Readonly
watcherProtected
watcherProtected
Readonly
watchersProtected
createProtected
debugeslint-disable-next-line @typescript-eslint/no-explicit-any
Dispose this object.
Protected
getGiven some URI
and some WatchOptions
, generate a unique key.
Protected
resolveIf 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.
Optional
options: 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
.