1.0.0 • Published 4 years ago

watchformac v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

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");
});