I had an issue with autotest where the tests would just keep running, even when all the tests passed. After doing some searching I found the following code helpful from this post:
Put this in your ~/.autotest, leave out the growl line if you’re not using that.
require 'autotest/growl' Autotest.add_hook :initialize do |at| %w{.git vendor rerun.txt}.each {|exception| at.add_exception(exception)} end
When I initially tried this code it didn’t work. To figure out why autotest thought it had to keep running I ran the following:
find ./ -cmin -1
This will show you any files that changed in the last minute. I had to add db, log, system and public to the list above. Depending on your configuration you might run into other files or folders that need to be excluded.