class Rails::Application
def watchable_args # :nodoc:
API.
directories-extensions suitable for ActiveSupport::FileUpdateChecker
Returns an array of file paths appended with a hash of
def watchable_args # :nodoc: files, dirs = config.watchable_files.dup, config.watchable_dirs.dup ActiveSupport::Dependencies.autoload_paths.each do |path| File.file?(path) ? files << path.to_s : dirs[path.to_s] = [:rb] end [files, dirs] end