diff --git a/config.ru b/config.ru index 719bc24..35c583a 100644 --- a/config.ru +++ b/config.ru @@ -1,5 +1,7 @@ require 'rubygems' require 'sinatra' -require File.expand_path '../v5.rb', __FILE__ +require 'rack/unreloader' +Unreloader = Rack::Unreloader.new{App} +Unreloader.require File.expand_path '../v5.rb', __FILE__ -run Sinatra::Application +run Unreloader