Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
FSEvents API with signals handled (without RubyCocoa)
Ruby C

This branch is even with thibaudgg:ffi

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
Gemfile.lock
Guardfile
LICENSE
README.rdoc
Rakefile
rb-fsevent.gemspec

README.rdoc

!!! Using FFI doesn't allow to catch Signals !!!

rb-fsevent

Very simple & usable Mac OSX FSEvents API

  • No compilation needed (FFI)

  • RubyCocoa not required!

Install

gem install rb-fsevent

Usage

require 'rb-fsevent'

fsevent = FSEvent.new
fsevent.watch Dir.pwd do |directories|
  puts "Detected change inside: #{directories.inspect}"
end
fsevent.run

Development

Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.

Authors

Thibaud Guillaume-Gentil

Something went wrong with that request. Please try again.