想在rails测试环境那样调整源代码而不需要重启server?

gem "sinatra-reloader"

class MyApp < Sinatra::Base
  register Sinatra::Reloader
  ...
end