Sha256: cb4d3136e01059f409c75d5a6c9a201a15e4aa76b95f70bf8d2dac1107d8cf74

Contents?: true

Size: 257 Bytes

Versions: 39

Compression:

Stored size: 257 Bytes

Contents

module Autotest::Restart
  Autotest.add_hook :updated do |at, *args|
    if args.flatten.include? ".autotest" then
      warn "Detected change to .autotest, restarting"
      cmd = "autotest"
      cmd << " -v" if $v
      
      exec cmd
    end
  end
end

Version data entries

39 entries across 39 versions & 7 rubygems

Version Path
BanzaiMan-ZenTest-4.2 lib/autotest/restart.rb
grosser-autotest-4.0.3 lib/autotest/restart.rb
grosser-autotest-4.0.4 lib/autotest/restart.rb
ryanbriones-ZenTest-3.11.1 lib/autotest/restart.rb
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest/restart.rb
vim-jar-0.1.2 bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest/restart.rb
vim-jar-0.1.1 bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest/restart.rb
vim-jar-0.1.0 bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest/restart.rb
vim-jar-0.0.3 bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest/restart.rb
vim-jar-0.0.2 bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest/restart.rb
vim-jar-0.0.1 bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest/restart.rb
ZenTest-4.4.0 lib/autotest/restart.rb
ZenTest-4.3.3 lib/autotest/restart.rb
autotest-4.3.2 lib/autotest/restart.rb
ZenTest-4.3.2 lib/autotest/restart.rb
autotest-4.2.10 lib/autotest/restart.rb
ZenTest-4.3.1 lib/autotest/restart.rb
ZenTest-4.3.0 lib/autotest/restart.rb
autotest-4.2.9 lib/autotest/restart.rb
autotest-4.2.8 lib/autotest/restart.rb