Autotest.add_hook :initialize do |autotest| # Check every 5 seconds # autotest.sleep = 3 # Ignore files with suffix %w{.svn .log .hg .git .erb .rhtml .png .txt .sh .project .rjs .rake .jpg .css .xml vendor db}.each { |exception| autotest.add_exception(exception) } end