Rails 3.2.3. I have a Rails app with /lib
in in my autoload paths. One of my library files is requiring a bunch of files like so
Dir[Rails.root.join("lib/foo/*.rb")].each { |f| require f }
In development, those files don't reload if I change them. For example, if I modify /lib/foo/bar.rb
, I will have to restart the server to see those changes. Can anyone suggest a way so that on each request they are reloaded properly?