From eff0326a88cf80295e6564d6cc8085cbb19f46a4 Mon Sep 17 00:00:00 2001 From: Astoria Date: Sat, 5 Nov 2022 13:36:26 -0500 Subject: [PATCH] Unreloader test --- config.ru | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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