File system watching interface
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.
Do you mean integration with gob itself such as gob agent? Otherwise I don't see a huge need for this.
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.
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?
This sounds like a separate library that gob could depend on, but this functionality seems a little outside gob's responsibilities.