lib/rerun.rb in rerun-0.6.6 vs lib/rerun.rb in rerun-0.7.0.pre1
- old
+ new
@@ -1,16 +1,15 @@
here = File.expand_path(File.dirname(__FILE__))
$: << here unless $:.include?(here)
+require "listen" # pull in the Listen gem
require "rerun/system"
require "rerun/runner"
require "rerun/watcher"
-require "rerun/osxwatcher"
-require "rerun/fswatcher"
+require "rerun/glob"
-# todo: make sure this works in non-Mac environments (also Macs without growlnotify)
module Rerun
-
+
DEFAULT_PATTERN = "**/*.{rb,js,css,scss,sass,erb,html,haml,ru}"
-end
+end