Craig Smitham
Craig Smitham

Reputation: 3963

Sinatra requires restart

I'm just getting started with Sinatra. I'm running Ruby 1.9.2 on Ubuntu. After my first issue, I've run into another one:

When I follow the simple sample application instructions at sinatra.rubyforge.org/doc/, I modify my source file, but the changes aren't apparent until I restart Sinatra - even though the tutorial mentions there is no need to restart.

How can I edit my source and view the results without having to restart Sinatra every time?

Upvotes: 0

Views: 2381

Answers (1)

Konstantin Haase
Konstantin Haase

Reputation: 25984

The book has something on the topic now: http://sinatra-book.gittr.com/#automatic_code_reloading

Upvotes: 2

Related Questions