4 require 'directory_watcher'
6 dw = DirectoryWatcher.new 'swatch'
8 dw.add_observer do |*args|
10 if /less/ =~ event.path
12 puts "#{Time.now.strftime("%I:%M:%S")} make bootswatch (since #{event.path} #{event.type})"
18 gets # when the user hits "enter" the script will terminate