Dispose this object.
If this server is a proxy to a remote server then a client is used as a local object to handle JSON-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 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
.