Write path of all matching files to stdout, and again when they change or when new files are added. Yep, another file watcher.
For example, if you have another tool that listens for files on stdin and does something with them:
$ tree-watch . "**/*.js" | jslint
$ npm install -g tree-watch
$ tree-watch . "**/*.js" ./index.js ./lib/something.js
When you change
When you add
When you delete
You get the idea.
Defaults to relative paths, but supports
--absolute flag to get full path.