lib/guard/rails/runner.rb in guard-rails-0.6.1 vs lib/guard/rails/runner.rb in guard-rails-0.7.0

- old
+ new

@@ -72,10 +72,11 @@ rails_options = [ options[:daemon] ? '-d' : nil, options[:debugger] ? '-u' : nil, '-e', options[:environment], '--pid', "\"#{pid_file}\"", + '-b', options[:host], '-p', options[:port], options[:server], ] rails_options.join(' ') @@ -147,10 +148,10 @@ wait_for_pid_loop { !has_pid? } end def remove_pid_file_and_wait_for_no_pid wait_for_pid_loop do - FileUtils.rm pid_file, :force => true + FileUtils.rm pid_file, force: true !has_pid? end end def wait_for_pid_loop