diff options
Diffstat (limited to 'Guardfile')
-rw-r--r-- | Guardfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Guardfile b/Guardfile index 8a43f414ca9..21ee2a9d610 100644 --- a/Guardfile +++ b/Guardfile @@ -2,7 +2,7 @@ # More info at https://github.com/guard/guard#readme -cmd = ENV['SPRING'] ? 'spring rspec' : 'bundle exec rspec' +cmd = ENV['GUARD_CMD'] || (ENV['SPRING'] ? 'spring rspec' : 'bundle exec rspec') guard :rspec, cmd: cmd do require "guard/rspec/dsl" |