0.0.2 • Published 3 years ago
inotifywait-path v0.0.2
node-inotifywait-path
Prebuilt inotifywait binary for usage in nodejs.
Install
$ npm inotifywait-path
Usage
import { inotifyWaitPath } from "inotifywait-path";
import { spawn } from "child_process";
// same as inotifywait -r -m /tmp/myFolder
const childProcess = spawn(inotifyWaitPath(), ["-r", "-m", "/tmp/myFolder"], {
stdio: "inherit",
});
License
MIT, but the downloaded inotifywait
binary is licensed under GNU General Public License v2.0