node-modules/changing

Name: changing

Owner: node_modules

Description: Watching `file`, `dir` or `link` changing, using interval timer.

Created: 2015-06-16 16:28:29.0

Updated: 2017-08-01 01:11:37.0

Pushed: 2017-08-08 10:26:16.0

Homepage: null

Size: 8

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

changing

NPM version build status Test coverage Gittip David deps npm download

Watching file, dir or link changing, using interval timer.

Installation
m install changing --save
Usage
changing = require('changing');

watcher = changing({
terval: '10s'


her.add(path1);
her.add(path2);

her.on('change', function (info) {
nsole.log(info);
 { event: 'change',
 path: '/Users/mk2/git/changing/test/fixtures/foo.js',
 stat:
  { dev: 16777220,
    mode: 33188,
    nlink: 1,
    uid: 501,
    gid: 20,
    rdev: 0,
    blksize: 4096,
    ino: 72656587,
    size: 11,
    blocks: 8,
    atime: Wed Jun 17 2015 00:08:11 GMT+0800 (CST),
    mtime: Wed Jun 17 2015 00:08:38 GMT+0800 (CST),
    ctime: Wed Jun 17 2015 00:08:38 GMT+0800 (CST),
    birthtime: Tue Jun 16 2015 23:19:13 GMT+0800 (CST) } }

License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.