title: Sorbet fails when using creating an instance of an autoloaded class in rails initializer
body: <p>In a rails app using sorbet, when you have a method that expects an instance of a type, say <code>Foo</code>. And you need to initialize an instance of <code>Foo</code> in an initializer for the app that persists in memory between requests. And then you make any change to the source code of <code>Foo</code> or any file that <code>Foo</code> uses. Then sorbet believes that this instance is no longer an instance of <code>Foo</code>, and you need to restart your app in order for it to stop erroring.</p>
  <p>This seems like a rare case, but in our app, we use a bit of dependency injection, and it's a large team. So sorbet is making us restart our app almost every time we do a git update, and many, many times throughout the day as we write code. We have a large app which takes a while to restart, and it's quite frustrating to have to do this.</p>
  <p>Any ideas on how to fix this? If helpful, I could make a sample rails app to demonstrate this behavior.</p>