Registry / utility / fsevents

fsevents

JSON →
library0.1.1rbrubygemsunverified

Simple, usable FSEvents API for macOS file system event monitoring.

gem install fsevents
INSTALL
IMPORT
SIG · FSEVENTS
F
fsevents
utilityrubyv0.1.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.

FSEvents
require 'fsevents'

Watch a directory for file system changes

require 'fsevents' stream = FSEvents::Stream.watch('/path/to/dir') do |events| events.each { |e| puts e.path } end stream.run
Debug
Known issues
gotchaOnly works on macOS
fix
Use a cross-platform alternative like listen or rb-inotify on Linux
affects: >= 0.1.0
Upgrade
Version history
0.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Resources
fsevents — gem install fsevents · libregistry