lib/guard/rake.rb in guard-rake-0.0.9 vs lib/guard/rake.rb in guard-rake-0.0.10

- old
+ new

@@ -43,22 +43,22 @@ if ::Guard::VERSION < "1.1" def run_on_change(paths) run_rake_task(paths) end else - def run_on_changes(paths) + def run_on_modifications(paths) run_rake_task(paths) end end def run_rake_task(paths=[]) UI.info "running #{@task}" ::Rake::Task.tasks.each { |t| t.reenable } ::Rake::Task[@task].invoke(*@options[:task_args], paths) Notifier.notify( - "watched files: #{paths}", + "watched files: #{paths}", :title => "running rake task: #{@task}", :image => :success ) rescue Exception => e UI.error "#{self.class.name} failed to run rake task <#{@task}>, exception was:\n\t#{e.class}: #{e.message}" @@ -71,9 +71,9 @@ def load_rakefile ARGV.clear ::Rake.application.init ::Rake.application.load_rakefile - self.class.rakefile_loaded = true + self.class.rakefile_loaded = true end end end