Skip to content

Commit

Permalink
Use Rack::Reloader in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Aug 3, 2011
1 parent bddc523 commit 1dceb87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/cramp/generators/templates/application/config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ require './application'
if <%= app_const %>.env == 'development'
require 'async-rack'
use AsyncRack::CommonLogger

# Enable code reloading on every request
use Rack::Reloader, 0
end

# Running thin :
Expand Down

0 comments on commit 1dceb87

Please sign in to comment.