Open gniquil opened 9 years ago
I will think on this request, seems reasonable, I will think of its best and compact implementation. Stay tuned.
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.
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?