Run a plugin's integration tests via autospec when anything changes

This commit is contained in:
Matt Palmer 2018-05-09 12:32:48 +10:00
parent 5fc2dd8b8d
commit 1ce8b7def8

View File

@ -23,6 +23,7 @@ module Autospec
watch(%r{^plugins/.*/discourse-markdown/.*\.js\.es6$}) { "spec/components/pretty_text_spec.rb" }
watch(%r{^plugins/.*/spec/.*\.rb})
watch(%r{^(plugins/.*)/(lib|app)}) { |m| "#{m[1]}/spec/integration" }
watch(%r{^(plugins/.*)/lib/(.*)\.rb}) { |m| "#{m[1]}/spec/lib/#{m[2]}_spec.rb" }
RELOADERS = Set.new