watcher
Watch the File System for Changes. Contribute to r-lib/watcher development by creating an account on GitHub.
watcher is a thin filesystem-events binding whose releases are mostly build work.
◆Recent moves
- 1mo ago
cmake dropped from the bundled library build
Building the bundled libfswatch no longer requires cmake — the R C/C++ toolchain is used directly, with a system library still preferred when present. It removes the main obstacle to installing on machines without a build system.
View source ↗ - 3mo ago
Bundled libfswatch updated to 1.20.1
Updates the bundled libfswatch source to the 1.20.1 release. No interface change.
View source ↗ - 8mo ago
Windows CPU usage fix for sub-second latency
Fixes high CPU usage on Windows when watching with a latency below one second.
View source ↗ - 1y ago
System libfswatch found in non-standard locations
Allows a system libfswatch installed in a non-standard location to be used. One more step in the build-portability sequence.
View source ↗ - 1y ago
Multiple paths per watcher, and older Windows builds fixed
watcher() accepts a vector for the path argument so several files or directories can be monitored at once, and Windows bi-arch source builds work again on rtools40 and earlier.
View source ↗ - 1y ago
Accessor methods replace public Watcher fields
Adds $get_path() and $is_running() methods and makes the corresponding fields private — a small API tightening that breaks direct field access.
View source ↗