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.