Sha256: 0a28fb2f4b80384cb7a17a1e6a2c5485bd4e31bb138caa7365bcf76f0d5b44c3
Contents?: true
Size: 457 Bytes
Versions: 6
Compression:
Stored size: 457 Bytes
Contents
require File.dirname(__FILE__) + '/../lib/bind' # Execute this file to start the listener, then alter style.css a few times html = File.expand_path(File.dirname(__FILE__) + '/demo.html') style = File.dirname(__FILE__) + '/style.css' action = Bind::Actions::RefreshBrowsers.new html, 'Safari', 'Firefox' listener = Bind::Listener.new :event => :change, :files => [style], :interval => 1, :action => action, :timeout => 60, :debug => $stdout listener.run!
Version data entries
6 entries across 6 versions & 1 rubygems