tree-watch
v0.0.6
Published
Write path of all matching files to stdout, and again when they change or when new files are added. Yep, another file watcher.
Readme
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
