At the moment, I have to restart the server if I change the files in the lib / and app / helpers / directories. Is there a way to configure Rails or Webrick so that it also copies files in these directories?
In config/application.rb:
config/application.rb
config.autoload_paths += %W(#{config.root}/lib #{config.root}/app/helpers)
There should be a commented line explaining what it means autoload_paths.
autoload_paths