Sha256: 0ac5f2e6dbd03ead8ae4325a17ccac8350aab8aab5fdf1ea30d6b62a14b5a7c9
Contents?: true
Size: 375 Bytes
Versions: 6
Compression:
Stored size: 375 Bytes
Contents
require File.dirname(__FILE__) + '/../lib/bind' # Execute this file to start the listener, then alter style.css a few times style = File.dirname(__FILE__) + '/style.css' action = lambda { |file| puts "modified #{file}" } listener = Bind::Listener.new :event => :change, :files => [style], :interval => 1, :action => action, :timeout => 10, :debug => $stdout listener.run!
Version data entries
6 entries across 6 versions & 1 rubygems