development
environment. You may however wish to customize which files are watched for changes as you add your own custom directories, service objects, etc.autoload_path
so that they can be hot-reloaded while in development
. production
Xip will pre-load all files in the autoload_paths
array to improve performance.lib/some_file.rb
to the autoload_path
, add this line to config/autoload.rb
:.rb
extension to the filename.lib
directory to the autoload_path
, add this line to config/autoload.rb
: