Whithout parameters dir-manager goint to search in the current path
var dirmanager = require("dir-manager");
dirmanager.watch({}, function(err, res){
console.log(res); # object
})The script above going to search in __c:\user\project __ , if you want get a specify path you can use the target parameter .
var dirmanager = require("dir-manager");
dirmanager.watch({target:'./watch'}, function(err, res){
console.log(res); # object
})- event
- filenamechanged
- pathname
- path
- tree
- treefilenamechanged