nowk
6/15/2011 - 6:29 PM

Autotest

Autotest

# this lives in your home directory ~/.autotest
#
Autotest.add_hook :initialize do |autotest|
  # autotest.add_exception(%r{^\./db})
  # autotest.add_exception(%r{^\./log})
  # autotest.add_exception(%r{^\./tmp})
  # autotest.add_exception(%r{^\./Gemfile.lock})
  # autotest.add_exception(%r{^\./\.git})
  # autotest.add_exception(%r{^\./\.bundle})
  # autotest.add_exception(%r{^\./.+\.swp})
  # autotest.add_exception(%r{^\./.+\.swo})

  %w{.svn .hg .git .bundle vendor rerun.txt db log tmp .DS_store Gemfile.lock}.each { |e| autotest.add_exception(e) }
end

# try `autotest -v` to see which files are trying to be loaded that might cause infinite loops
# enable cucumber support
#
export AUTOFEATURE=true