Reputation: 398
I'm developing new component and don't want to waste time on reloading environment each time.
I've found few related questions, but no one solution worked for me. So what is the technique to automatically reload code from lib folder when sources changed?
Upvotes: 2
Views: 224
Reputation: 371
Please add the following line in the config/application.rb.
config.autoload_paths += %W(#{config.root}/lib)
Upvotes: 1