# File lib/camping/server.rb, line 148 148: def find_scripts 149: scripts = options[:scripts].map do |path| 150: if File.file?(path) 151: path 152: elsif File.directory?(path) 153: Dir[File.join(path, '*.rb')] 154: end 155: end.flatten.compact 156: 157: @reloader.update(*scripts) 158: end