Consider this config.ru
file:
require 'sinatra'
use Rack::Reloader, 0
get '/' do
'hi'
end
run Sinatra::Application
I start it from the command line with thin start
. The application runs and shows hi
when I hit localhost:3000
. If I now change hi
to hello
, save the file, and reload the page, the change does not appear: the page still says hi
.
Why does Rack::Reloader
not work in this case? Can I change anything to make it work?