c9/vfs — pull request #20 by creationix (2012-07-06 17:53:33+00:00)
Title: vfs-local: Allow for both fs.watch and fs.watchFile semantics.

Instead of adding multiple watcher APIs, let's just pass a flag {file: true} to vfs.watch that chooses between the two backends. In both cases you will need to call .close() on the resultant emitter object as well as listen for "change" events.