Permalink
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 301 Bytes
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
# for rb-inotify/rb-fsevent
require 'rubygems'
require 'fssm'
FSSM.monitor('.', '**/*') do
update { |b, r| puts "Update in #{b} to #{r}" }
delete { |b, r| puts "Delete in #{b} to #{r}" }
create { |b, r| puts "Create in #{b} to #{r}" }
end