Method: Spring::Application#reset_streams

Defined in:
lib/spring/application.rb

#reset_streamsObject



287
288
289
290
# File 'lib/spring/application.rb', line 287

def reset_streams
  [STDOUT, STDERR].each { |stream| stream.reopen(spring_env.log_file) }
  STDIN.reopen("/dev/null")
end