diff --git a/lib/spring/application.rb b/lib/spring/application.rb index 6d23d8fa..98ff4fc7 100644 --- a/lib/spring/application.rb +++ b/lib/spring/application.rb @@ -129,7 +129,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