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

File system watching interface #9

Open
b1lly opened this issue Apr 6, 2014 · 4 comments
Open

File system watching interface #9

b1lly opened this issue Apr 6, 2014 · 4 comments

Comments

@b1lly
Copy link
Owner

b1lly commented Apr 6, 2014

As an interested open-source contributor, I'd like a simple, well documented interface to include Gob's file system/dependency watcher into my project.

@b1lly b1lly added this to the Stable public release milestone Apr 6, 2014
@ttacon
Copy link
Collaborator

ttacon commented Apr 23, 2014

Do you mean integration with gob itself such as gob agent? Otherwise I don't see a huge need for this.

@b1lly
Copy link
Owner Author

b1lly commented Apr 24, 2014

I mean gob itself. It seems a little gross how it's handled. At the very least, the bulk saving enhancement should be looked at, and probably break the file system watchers into go watchers or template watchers.

@b1lly
Copy link
Owner Author

b1lly commented Apr 24, 2014

So I thought about this more.

I think this interface should provide a way to basically spawn and manage multiple processes based on os limits and basically send messages back to gob to restart the associated application process. We would be able to beat the watcher limit problem, since watchers are limited at the process level. It should also be smart about managing duplicate dependency watchers across multiple applications that are running.

I think we can probably hook into the gob agent to create this communication channel.

Does this make sense?

@ttacon
Copy link
Collaborator

ttacon commented Apr 26, 2014

This sounds like a separate library that gob could depend on, but this functionality seems a little outside gob's responsibilities.

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

No branches or pull requests

2 participants