Registry / utility / rb-kqueue

rb-kqueue

JSON →
library0.2.8rbrubygemsunverified

A Ruby wrapper for BSD's kqueue, using FFI.

gem install rb-kqueue
INSTALL
IMPORT
SIG · RB-KQUEUE
R
rb-kqueue
utilityrubyv0.2.8
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.

KQueue
require 'rb-kqueue'

Monitor file system events using kqueue on BSD/macOS.

require 'rb-kqueue' queue = KQueue::Queue.new queue.watch_file('/path/to/file', :write) do |event| puts "File modified!" end queue.run
Debug
Known issues
breakingOnly works on BSD/macOS systems.
fix
Use a cross-platform alternative like rb-inotify or listen.
affects: >= 0.0.0
Upgrade
Version history
0.2.8latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
rb-kqueue — gem install rb-kqueue · libregistry