module Rack::Reloader::Stat

def safe_stat(file)

def safe_stat(file)
  return unless file
  stat = ::File.stat(file)
  return file, stat if stat.file?
rescue Errno::ENOENT, Errno::ENOTDIR, Errno::ESRCH
  @cache.delete(file) and false
end