lib/guard.rb
def run_on_change(files)
      run do
        guards.each do |guard|
          paths = Watcher.match_files(guard, files)
          unless paths.empty?
            UI.debug "#{ guard.class.name }#run_on_change with #{ paths.inspect }"
            supervised_task(guard, :run_on_change, paths)
          end
        end
      end
    end
# Trigger `run_on_change` on all Guards currently enabled and
#
Trigger `run_on_change` on all Guards currently enabled and
Trigger ` run_on_change ` on all Guards currently enabled and
def run_on_change(files)
      run do
        guards.each do |guard|
          paths = Watcher.match_files(guard, files)
          unless paths.empty?
            UI.debug "#{ guard.class.name }#run_on_change with #{ paths.inspect }"
            supervised_task(guard, :run_on_change, paths)
          end
        end
      end
    end
def run_on_change ( files ) run do guards . each do | guard | paths = Watcher . match_files ( guard , files ) unless paths . empty? UI . debug "#{ guard.class.name }#run_on_change with #{ paths.inspect }" supervised_task ( guard , :run_on_change , paths ) end end end end
Trigger `run_on_change` on all Guards currently enabled and
Trigger ` run_on_change ` on all Guards currently enabled and
files