# File lib/compass/commands/watch_project.rb, line 96
      def relative_to(f, dir)
        Pathname.new(f).relative_path_from(Pathname.new(dir))
      rescue ArgumentError # does not share a common path.
        f
      end