chickadee » inotify » add-watch-recursively!

add-watch-recursively! PATH FLAGSprocedure

Adds a watch for PATH and traverses it recursively to add watches for any directories found in it. Each watch is applied with FLAGS, refer to the documentation of add-watch! for further details. Returns a list of watch descriptors associated with each established watch. Note that this procedure does not work in an atomic manner, it cannot be guaranteed that all directories in PATH will receive watches.