{"_id":"watch_r-structr-lock","_rev":"237896","name":"watch_r-structr-lock","description":"This is watch_r 0.0.14 but locks down structr","dist-tags":{"latest":"0.0.1"},"maintainers":[{"name":"searls","email":""}],"time":{"modified":"2021-06-03T15:52:53.000Z","created":"2013-11-02T19:26:37.499Z","0.0.1":"2013-11-02T19:26:37.499Z"},"users":{},"repository":{"type":"git","url":"git://github.com/testdouble/node-watchr.git"},"versions":{"0.0.1":{"name":"watch_r-structr-lock","description":"This is watch_r 0.0.14 but locks down structr","version":"0.0.1","repository":{"type":"git","url":"git://github.com/testdouble/node-watchr.git"},"engines":{},"dependencies":{"structr":"0.2.3","ejs":"0.8.x","underscore":"1.4.x","commander":"1.1.x","async":"0.2.x","tq":"0.2.x"},"devDependencies":{},"main":"./lib/index.js","bin":{"watch_r":"./bin/watch_r"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/testdouble/node-watchr/issues"},"_id":"watch_r-structr-lock@0.0.1","dist":{"shasum":"4b1981107654ba02bcee23e5692f9d683f85d007","size":6584,"noattachment":false,"key":"/watch_r-structr-lock/-/watch_r-structr-lock-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/watch_r-structr-lock/download/watch_r-structr-lock-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"searls","email":"searls@gmail.com"},"maintainers":[{"name":"searls","email":""}],"directories":{},"publish_time":1383420397499,"_cnpm_publish_time":1383420397499,"_hasShrinkwrap":false}},"readme":"## Features\n\n- recursively watch files\n- **watch new dirs/files that have been added to any watched directory** \n- ability to ignore files with `.ignorewatch` including list of files to ignore (similar to `.gitignore`). Use `*` to ignore all files in `.ignorewatch` directory. \n  \n## Installation\n\n\tnpm install watch_r\n\t\n## Example\n\n````javascript \n  \nvar watch_r = require('watch_r');\n\nwatch_r('/path/to/file', function(err, watcher) {\n\t \n\t//add / change\n\twatcher.on('change', function(target) {\n\t\t\n\t\t//changed file\n\t\tconsole.log(target.path);\n\t})\n\t\n\twatcher.on('remove', function(target) {\n\t\t\n\t\t//removed file\n\t\tconsole.log(target.path);\n\t});\n})\n\n```` \n\n","_attachments":{},"readmeFilename":"README.md","bugs":{"url":"https://github.com/testdouble/node-watchr/issues"}}