specs.watchr in chatterbot-1.0.2 vs specs.watchr in chatterbot-2.0.0.pre
- old
+ new
@@ -29,14 +29,12 @@
end
# --------------------------------------------------
# Watchr Rules
# --------------------------------------------------
-watch('^spec/(.*)_spec\.rb') { |m| run_spec_matching(m[1]) }
-#watch('^spec/controllers/(.*)_spec\.rb') { |m| run_spec_matching(m[1]) }
-
+watch('^spec/(.*)_spec\.rb') { |m| puts m.inspect; run_spec_matching(m[1]) }
watch("^lib/chatterbot/(.*)\.rb") { |m| run_spec_matching(m[1]) }
-#watch('^spec/spec_helper\.rb') { run_all_specs }
+watch('^spec/spec_helper\.rb') { run_all_specs }
# --------------------------------------------------
# Signal Handling
# --------------------------------------------------