From a997fa2332208818f07316e52e2901ad260c6e19 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 24 Apr 2011 15:08:14 -0700 Subject: [PATCH] Use expand_path to match the behavior is Sass. Fixes a bug that causes compass to always compile all files. --- lib/compass/compiler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compass/compiler.rb b/lib/compass/compiler.rb index 92ca8fa6..0f4f70f9 100644 --- a/lib/compass/compiler.rb +++ b/lib/compass/compiler.rb @@ -57,7 +57,7 @@ module Compass end def needs_update?(css_filename, sass_filename) - staleness_checker.stylesheet_needs_update?(css_filename, relative_stylesheet_name(sass_filename), importer) + staleness_checker.stylesheet_needs_update?(css_filename, File.expand_path(sass_filename), importer) end # Determines if the configuration file is newer than any css file