wait-for-change
v1.1.1
Published
A module which waits for a file being changed or added
Downloads
853
Readme
wait-for-change
This npm module can be used to wait for files being created or changed.
Usage
npm install --save wait-for-change
CLI
wait-for-change my/file my/other/file && do-something-with my/file
API
var waitForChange = require("wait-for-change");
waitForChange(["my/file", "my/other/file"]).then(doSomethingWithMyFile);