# File lib/autotest.rb, line 191 def run hook :initialize reset add_sigint_handler self.last_mtime = Time.now if $f loop do # ^c handler begin get_to_green if tainted? then rerun_all_tests else hook :all_good end wait_for_changes rescue Interrupt break if wants_to_quit reset end end hook :quit rescue Exception => err hook :died, err end