Add support for Windows. #22

Open
jarmo wants to merge 3 commits from jarmo/master into master
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 7817e2ad6c - Show all commits

View File

@ -42,7 +42,7 @@ module Guard
'--pid', pid_file
]
rails_options << '-d' if options[:daemon]
rails_options << '-d' if options[:daemon] && !windows?
rails_options << '-u' if options[:debugger]
rails_options << options[:server] if options[:server]

View File

@ -40,7 +40,7 @@ describe Guard::RailsRunner do
end
end
context 'daemon' do
context 'daemon', :unless => RUBY_PLATFORM =~ /mswin|msys|mingw/ do
let(:options) { default_options.merge(:daemon => true) }
it "should have a daemon switch" do