aboutsummaryrefslogtreecommitdiff
path: root/node_modules/glob-watcher/README.md
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-10 03:43:44 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-10 03:43:44 +0200
commitabd94a7f5a50f43c797a11b53549ae48fff667c3 (patch)
treeab8ed457f65cdd72e13e0571d2975729428f1551 /node_modules/glob-watcher/README.md
parenta0247c6a3fd6a09a41a7e35a3441324c4dcb58be (diff)
add node_modules to address #4364
Diffstat (limited to 'node_modules/glob-watcher/README.md')
-rw-r--r--node_modules/glob-watcher/README.md53
1 files changed, 53 insertions, 0 deletions
diff --git a/node_modules/glob-watcher/README.md b/node_modules/glob-watcher/README.md
new file mode 100644
index 000000000..129311ebc
--- /dev/null
+++ b/node_modules/glob-watcher/README.md
@@ -0,0 +1,53 @@
+# glob-watcher [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Dependency Status][david-image]][david-url]
+
+## Information
+
+<table>
+<tr>
+<td>Package</td><td>glob-watcher</td>
+</tr>
+<tr>
+<td>Description</td>
+<td>Watch globs</td>
+</tr>
+<tr>
+<td>Node Version</td>
+<td>>= 0.9</td>
+</tr>
+</table>
+
+## Usage
+
+```javascript
+var watch = require('glob-watcher');
+
+// callback interface
+watch(["./*.js", "!./something.js"], function(evt){
+ // evt has what file changed and all that jazz
+});
+
+// EE interface
+var watcher = watch(["./*.js", "!./something.js"]);
+watcher.on('change', function(evt) {
+ // evt has what file changed and all that jazz
+});
+
+// add files after it has been created
+watcher.add("./somefolder/somefile.js");
+```
+
+
+[npm-url]: https://npmjs.org/package/glob-watcher
+[npm-image]: https://badge.fury.io/js/glob-watcher.png
+
+[travis-url]: https://travis-ci.org/wearefractal/glob-watcher
+[travis-image]: https://travis-ci.org/wearefractal/glob-watcher.png?branch=master
+
+[coveralls-url]: https://coveralls.io/r/wearefractal/glob-watcher
+[coveralls-image]: https://coveralls.io/repos/wearefractal/glob-watcher/badge.png
+
+[depstat-url]: https://david-dm.org/wearefractal/glob-watcher
+[depstat-image]: https://david-dm.org/wearefractal/glob-watcher.png
+
+[david-url]: https://david-dm.org/wearefractal/glob-watcher
+[david-image]: https://david-dm.org/wearefractal/glob-watcher.png?theme=shields.io