Guardfile in discourse_theme-0.7.3 vs Guardfile in discourse_theme-0.7.4
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
directories %w(app lib test) \
- .select { |d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist") }
+ .select { |d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist") }
guard :minitest do
# with Minitest::Unit
watch(%r{^test/(.*)\/?test_(.*)\.rb$})
watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/test_#{m[2]}.rb" }