Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 1.1.1
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (15 sloc) 0.397 kb
require "autotest/restart"
Autotest.add_hook :initialize do |at|
at.add_exception %r{^\.git/}
at.clear_mappings
at.add_mapping(%r{^lib/.*\.rb$}) do
at.files_matching %r{^spec/.*_spec\.rb$}
end
at.add_mapping(%r{^spec/(spec_helper|shared/.*)\.rb$}) do
at.files_matching %r{^spec/.*\.rb$}
end
at.add_mapping(%r{^spec/.*_spec\.rb$}) do |f, _|
[f]
end
end
# vim:ft=ruby:
Jump to Line
Something went wrong with that request. Please try again.