Use expand_path to match the behavior is Sass. Fixes a bug that causes compass to always compile all files.
This commit is contained in:
parent
75901f9287
commit
a997fa2332
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user