Skip to main content

warn_if_root

Function warn_if_root 

Source
fn warn_if_root(dir: &Path)
Expand description

Warns when the root directory is watched, which happens when a path goes through a symlink directly under it (e.g. /tmp, /var or /etc on macOS). On macOS the FSEvents backend then receives every event on the volume and filters them in user space.