Singleton implementation of the watch server.
Since multiple clients all make requests to this service, we need to track those individually via a clientId.
clientId
handle mapping to a previous watchFileChanges request.
watchFileChanges
arbitrary id used to identify a client.
the path to watch.
optional parameters.
promise to a unique number handle for this request.
number
Singleton implementation of the watch server.
Since multiple clients all make requests to this service, we need to track those individually via a
clientId
.