I have my web.rb
where I have
require 'rubygems'
require 'sinatra'
require "sinatra/reloader"
Then I start my web application by double click on the web.rb short cut. After any change in web.rb I have to exit the sinatra and run it again.
I thought that "sinatra/reloader" would help me not to manual reaload.
configuration (MS Windows)
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]
sinatra (1.2.6, 1.0)
register Sinatra::Reloader
I changed to rack-reloader months back, realized it didn't work well even with hacks
switched back and forgot to use register
the drawback of sinatra sometimes is the slightly more wisdom-of-crowds documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With