Description
Connects Ruby code to Linux inotify through FFI so tools can watch filesystem changes. It is useful for development servers, file processors, rebuild tools, and test watchers on Linux.
File watching can leak path names and use many descriptors. Limit watched trees, exclude sensitive directories, and handle overflow events safely.