Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 82d49ff48c
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (20 sloc) 0.544 kB
require 'autotest/restart'
require 'autotest/growl'
require 'autotest/fsevent'
require 'autotest/timestamp'
# exclude certain files from being watched for changes
Autotest.add_hook :initialize do |autotest|
%w{.git bin log doc}.each do |exception|
autotest.add_exception exception
end
end
# override autotest default magic to rerun all tests every time a
# change is detected on the file system.
class Autotest
def get_to_green
begin
rerun_all_tests
wait_for_changes unless all_good
end until all_good
end
end
Jump to Line
Something went wrong with that request. Please try again.