Registry / utility / rb-inotify

rb-inotify

JSON →
library0.11.1rbrubygemsunverified

A Ruby wrapper for Linux inotify, using FFI.

gem install rb-inotify
INSTALL
IMPORT
SIG · RB-INOTIFY
R
rb-inotify
utilityrubyv0.11.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

INotify
require 'rb-inotify'

Monitor a directory for file creation events using inotify.

require 'rb-inotify' notifier = INotify::Notifier.new notifier.watch('/tmp', :create) { |event| puts "File created: #{event.name}" } notifier.run
Debug
Known issues
breakingLinux-only; does not work on macOS or Windows.
fix
Use a cross-platform alternative like listen or ruby-filewatch.
affects: >= 0.0.0
Upgrade
Version history
0.11.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
rb-inotify — gem install rb-inotify · libregistry