0.0.6 • Published 12 years ago
tree-watch v0.0.6
tree-watch
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" | jslintInstall
$ npm install -g tree-watchUsage
$ tree-watch . "**/*.js"
./index.js
./lib/something.jsWhen you change index.js:
./index.jsWhen you add lib/another.js:
./lib/another.jsWhen you delete lib/another.js:
./lib/another.jsYou get the idea.
Options
Defaults to relative paths, but supports --absolute flag to get full path.
License
MIT