visionmedia-bind 0.0.2 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +4 -0
- data/bind.gemspec +1 -1
- data/examples/log_changes.rb +1 -1
- data/examples/refresh_browsers.rb +1 -1
- data/lib/bind/actions.rb +1 -0
- data/lib/bind/version.rb +1 -1
- metadata +1 -1
data/History.rdoc
CHANGED
data/bind.gemspec
CHANGED
data/examples/log_changes.rb
CHANGED
@@ -5,5 +5,5 @@ require File.dirname(__FILE__) + '/../lib/bind'
|
|
5
5
|
|
6
6
|
style = File.dirname(__FILE__) + '/style.css'
|
7
7
|
action = lambda { |file| puts "modified #{file}" }
|
8
|
-
listener = Bind::Listener.new :event => :change, :files => [style], :interval => 1, :action => action, :timeout => 10, :
|
8
|
+
listener = Bind::Listener.new :event => :change, :files => [style], :interval => 1, :action => action, :timeout => 10, :debug => $stdout
|
9
9
|
listener.run!
|
@@ -6,5 +6,5 @@ require File.dirname(__FILE__) + '/../lib/bind'
|
|
6
6
|
html = File.expand_path(File.dirname(__FILE__) + '/demo.html')
|
7
7
|
style = File.dirname(__FILE__) + '/style.css'
|
8
8
|
action = Bind::Actions::RefreshBrowsers.new html, 'Safari', 'Firefox'
|
9
|
-
listener = Bind::Listener.new :event => :change, :files => [style], :interval => 1, :action => action, :timeout => 60, :
|
9
|
+
listener = Bind::Listener.new :event => :change, :files => [style], :interval => 1, :action => action, :timeout => 60, :debug => $stdout
|
10
10
|
listener.run!
|
data/lib/bind/actions.rb
CHANGED
data/lib/bind/version.rb
CHANGED