watchs
Watch for file (folder) changes [C++ For MAC]
High-performance C ++ file monitoring system
Usage: watchs path
Result: CreteFileEvent path
MoveFileEvent path MoveFileEvent fromPath toPath MoveFileInEvent path MoveFileOutEvent path DeleteFileEvent path ModifyFileEvent path
Watch for file (folder) changes [For MAC] Copyright ©2020 ntfstool.com
For example:
watchs ./watchs /Volumes
... you will capturing external disk mount events now...
var watchs = require('watchs');
var path = "/Volumes";
watchs(path,function (data) {
console.warn(data,"retData");
});