lib/rspactor/runner.rb in mislav-rspactor-0.3.3 vs lib/rspactor/runner.rb in mislav-rspactor-0.4.0

- old
+ new

@@ -29,12 +29,12 @@ end def start_listener @inspector = Inspector.new(dir) - Listener.new(Inspector::EXTENSIONS) do |files| + Listener.new(:extensions => Inspector::DEFAULT_EXTENSIONS) do |files| spec_changed_files(files) unless git_head_changed? - end.run(dir) + end.start(dir).enter_run_loop end def load_dotfile dotfile = File.join(ENV['HOME'], '.rspactor') if File.exists?(dotfile) \ No newline at end of file