Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 243 Bytes
require 'rubygems'
require 'rb-fsevent'
fsevent = FSEvent.new
STDOUT.sync = true
io = STDOUT
directory = ARGV[0]
#directory = STDIN.read
fsevent.watch directory do |directories|
io.write directories.inspect
end
fsevent.run