# File src/ruby_supportlib/phusion_passenger/standalone/app_finder.rb, line 66 def scan apps = [] watchlist = [] if single_mode? app_root = find_app_root apps << { :server_names => ["_"], :root => app_root } watchlist << app_root WATCH_ENTRIES.each do |entry| if File.exist?("#{app_root}/#{entry}") watchlist << "#{app_root}/#{entry}" end end apps.map! do |app| @options.merge(app) end end @apps = apps @watchlist = watchlist return apps end