Sha256: 43b4c12ae4c488b7263b040f33c2829f617e721a43e8a16c6672cd4dc3a224cb
Contents?: true
Size: 282 Bytes
Versions: 9
Compression:
Stored size: 282 Bytes
Contents
require File.dirname(__FILE__) + '/../lib/bind' paths = [File.dirname(__FILE__) + '/*.rb'] action = lambda { |file| puts "modified #{file.path}" } listener = Bind::Listener.new :event => :change, :paths => paths, :interval => 1, :actions => [action], :timeout => 10 listener.run!
Version data entries
9 entries across 9 versions & 2 rubygems