https://github.com/zillow/deepnotify
Takes a root dir and recursively streams present and future files
https://github.com/zillow/deepnotify
Last synced: 9 months ago
JSON representation
Takes a root dir and recursively streams present and future files
- Host: GitHub
- URL: https://github.com/zillow/deepnotify
- Owner: zillow
- License: other
- Created: 2013-09-27T21:10:10.000Z (almost 13 years ago)
- Default Branch: zillow
- Last Pushed: 2013-10-01T18:04:27.000Z (almost 13 years ago)
- Last Synced: 2025-06-25T15:08:17.920Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://npmjs.org/package/deepnotify
- Size: 109 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
deepnotify
==============
Takes a root dir and recursively streams present and
future files using `inotify(7)`.
[](http://travis-ci.org/uggedal/deepnotify)
[](https://david-dm.org/uggedal/deepnotify)
[](https://david-dm.org/uggedal/deepnotify#info=devDependencies)
Example
-------
```javascript
var deepnotify = require('deepnotify');
var d = deepnotify('.');
d.pipe(process.stdout);
setTimeout(function() {
d.close();
}, 5*1000);
```
Mehods
------
```javascript
var deepnotify = require('deepnotify');
```
### var d = deepnotify(root)
Return a redable stream of all present and future files recursively
beneath a `root` directory.
### d.close()
Close all `inotify(7)` watches on `root` and all its subdirectories.
Compatibility
-------------
`deepnotify` requires Node.js version 0.10.0 or higher and a Linux
system with a kernel version of 2.6.13 or higher.
License
-------
MIT