gregbell/active_admin — Issue #707: no auto-reloading happening at all in rails 3.1.1 and activeadmin 0.3.3 (ruby 1.9.2 p290)
Author: pixelvitamina
Created: 2011-11-01 09:14:21+00:00
State: open

with the new ActiveAdmin::Reloader I experience no reloading of changed files, eg. files matching /app/admin/*.rb

I added this initializer to my app, to get the proper reloading behavior, for quick fix.

```ruby
if Rails.env == "development"
activeadmin_reloader = ActiveSupport::FileUpdateChecker.new(Dir["app/admin/**/*"], true) do

ActiveAdmin.application.unload!
Rails.application.reload_routes!
end

ActionDispatch::Callbacks.to_prepare do
activeadmin_reloader.execute_if_updated
end
end
```

did someone else got this behavior?
I've tried with a existing and new rails 3.1.1 app ..