amasad/sane — pull request #24 by bcardarella (2014-08-13 08:31:59+00:00)
Title: Include root directory in event callbacks

If you have multiple watchers running the relative file path alone is
not enough to decide if an action should be taken or not. Including the
root path of the watcher provides more insight.

I have opted to add the root path as a 2nd argument to the event
callback so as to (hopefully) make this change backwards compatible.

ember-cli is using multiple watchers for many of the Broccoli trees. I have a use-case where I would like to filter out certain files from the watcher callbacks but require more information than just the relative filepath