Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for watching multiple directories? #12

Open
gniquil opened this issue Apr 3, 2015 · 2 comments
Open

Support for watching multiple directories? #12

gniquil opened this issue Apr 3, 2015 · 2 comments

Comments

@gniquil
Copy link

gniquil commented Apr 3, 2015

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?

@5HT
Copy link
Owner

5HT commented Apr 3, 2015

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

@liveforeverx
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants