diff --git a/lib/spring/application.rb b/lib/spring/application.rb index 8c658e5..0083a7e 100644 --- a/lib/spring/application.rb +++ b/lib/spring/application.rb @@ -127,7 +127,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