Dispose this object.
Optional
getIf 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.
arbitrary id used to identify a client.
the path to watch.
Optional
options: WatchOptionsoptional parameters.
promise to a unique number
handle for this request.
Singleton implementation of the watch server.
Since multiple clients all make requests to this service, we need to track those individually via a
clientId
.