Created
March 24, 2014 18:23
-
-
Save delianides/9746089 to your computer and use it in GitHub Desktop.
Tester
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rb-fsevent' | |
dir = File.expand_path '../..', __FILE__ | |
fsevent = FSEvent.new | |
fsevent.watch dir do |directories| | |
puts "Detected change inside: #{directories.inspect}" | |
end | |
fsevent.run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment