fs icon indicating copy to clipboard operation
fs copied to clipboard

Support for watching multiple directories?

Open gniquil opened this issue 10 years ago • 2 comments
trafficstars

Hi I am interested to use this library. One thing I realize is that this gets the root path from the envrionment or cwd, which could mean that this only works like a singleton for the vm? If not, how do I change the root and use it to watch multiple non overlapping directories without going all the way up to the common root?

gniquil avatar Apr 03 '15 18:04 gniquil

I will think on this request, seems reasonable, I will think of its best and compact implementation. Stay tuned.

5HT avatar Apr 03 '15 20:04 5HT

Would it be reasonable to change interface to something like: fs:start_notify(Path) ?

It will solve the problem to set the right enviroment, before starting fs(that means, we need to add the application as included_applications before starting it). And it possible to start different listeners for different pathes.

liveforeverx avatar Nov 10 '15 15:11 liveforeverx