diff --git a/lib/spring/application.rb b/lib/spring/application.rb index c9fa4bab..4ba9f238 100644 --- a/lib/spring/application.rb +++ b/lib/spring/application.rb @@ -115,7 +115,12 @@ def preload end def eager_preload - with_pty { preload } + with_pty do + # we can't see stderr and there could be issues when it's overflown + # see https://github.com/rails/spring/issues/396 + STDERR.reopen("/dev/null") + preload + end end def run