Watch the File System for Changes • watcher
watcher.r-lib.org
R binding for libfswatch, a file system monitoring library. Watch files, or directories recursively, for changes in the background. Log activity, or call an R function, upon every change event.