From b224b054f104f5d1d63efc2a05addafe8f12e33b Mon Sep 17 00:00:00 2001 From: rastam Date: Wed, 2 Aug 2017 11:49:55 +0900 Subject: [PATCH] Fix `invalid option: --guard (OptionParser::InvalidOption)` Ref: https://github.com/guard/guard-minitest/issues/142 --- Guardfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Guardfile b/Guardfile index 1e5797f..134e5dc 100644 --- a/Guardfile +++ b/Guardfile @@ -1,4 +1,4 @@ -guard :minitest do +guard :minitest, spring: 'bin/rails test' do # with Minitest::Unit watch(%r{^test/(.*)_test\.rb$}) watch(%r{^app/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}#{m[2]}_test.rb" }