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)
- sinatra-advanced-routes (0.5.1)
- sinatra-reloader (0.5.0)
- sinatra-sugar (0.5.1, 0.5.0)
- thin (1.2.7 x86-mswin32)
if I start my web application from dos prompt via “ruby web.rb” everything works fine
if I start my web application
the application starts but sinatra-reload doesn’t work
@nash thank you for your help