1.1.1 • Published 8 years ago
wait-for-change v1.1.1
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);