sinatra/sinatra-contrib — Issue #29: Reloader doesn't work when sinatra is mounted into Rails application. 
Author: lexer
Created: 2012-01-05 10:53:43+00:00
State: open

Reloader doesn't work when sinatra is mounted into Rails application.

App is mounted this way: mount Api2.new, :at => "/api2"

require 'sinatra/base'
require 'sinatra/reloader'

class Api2 < Sinatra::Base

configure :development do
register Sinatra::Reloader
end

configure :production do

end

get '/hello' do
"hello 2"
end
end

Changes will cause "Routing Error"