Skip to content

Commit bdff4b4

Browse files
author
Nicolas
committed
Improve Guard output, change default port
1 parent bd40349 commit bdff4b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Guardfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# More info at https://github.com/guard/guard#readme
22

3-
guard 'rspec' do
3+
guard 'rspec', :cli => "--color --format nested --fail-fast" do
44
watch(%r{^spec/.+_spec\.rb$})
55
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
66
watch('spec/spec_helper.rb') { "spec" }
77
end
88

9-
guard 'spork', :rspec_env => { 'RAILS_ENV' => 'test' } do
9+
guard 'spork', :rspec_env => { 'RAILS_ENV' => 'test' }, :rspec_port => 9090 do
1010
watch(%r{^lib/(.+)\.rb$})
1111
watch('Gemfile.lock')
1212
watch('spec/spec_helper.rb') { :rspec }

0 commit comments

Comments
 (0)