Registry / utility / ruby-fsevent

ruby-fsevent

JSON →
library0.2.1rbrubygemsunverified

A native extension exposing the OS X FSEvent API to watch directories for changes.

gem install ruby-fsevent
INSTALL
IMPORT
SIG · RUBY-FSEVENT
R
ruby-fsevent
utilityrubyv0.2.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.

FSEvent
require 'ruby-fsevent'

Watch a directory for file system events on macOS.

require 'ruby-fsevent' stream = FSEvent.new stream.watch('/path/to/dir') do |events| events.each { |event| puts event } end stream.run
Debug
Known issues
breakingOnly works on macOS (OS X).
fix
Use a cross-platform alternative like rb-inotify or listen.
affects: >= 0.0.0
Upgrade
Version history
0.2.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
ruby-fsevent — gem install ruby-fsevent · libregistry