fssm - The File System State Monitor keeps track of the state of any number of paths and will fire events when said state changes (create/update/delete)
There are three ways you can run the monitor. This form watches one path, and enters the run loop automatically. The first parameter is the path to watch, and the second parameter is an optional glob pattern or array of glob patterns that a file must match in order to trigger a callback. The default glob, if ommitted, is '**/*'.