diff options
author | José Valim <jose.valim@gmail.com> | 2010-12-20 12:41:49 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-12-20 12:43:02 +0100 |
commit | 0cbfd6c28d327304432f7d0c067662b5c1e41a78 (patch) | |
tree | 2e727aa29cb08dc70902302b7ab74afd17c4b361 /railties/lib/rails | |
parent | e683ab7c390f26e110387822c7ffb5ac6aafebca (diff) | |
download | rails-0cbfd6c28d327304432f7d0c067662b5c1e41a78.tar.gz rails-0cbfd6c28d327304432f7d0c067662b5c1e41a78.tar.bz2 rails-0cbfd6c28d327304432f7d0c067662b5c1e41a78.zip |
Small changes on AD::Reloader.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/console/app.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/console/app.rb b/railties/lib/rails/console/app.rb index 4a988efd82..95c74baae2 100644 --- a/railties/lib/rails/console/app.rb +++ b/railties/lib/rails/console/app.rb @@ -26,6 +26,7 @@ end # reloads the environment def reload!(print=true) puts "Reloading..." if print - ActionDispatch::Reloader.reload! + ActionDispatch::Reloader.cleanup! + ActionDispatch::Reloader.prepare! true end |