From 31cde1b1074d8cd4a8ce0a3df99a544a52137661 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 10 Jan 2010 08:09:02 -0800 Subject: [PATCH] Support for scss files in the compass watcher. Closes GH-78. --- lib/compass/commands/watch_project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compass/commands/watch_project.rb b/lib/compass/commands/watch_project.rb index 96b291bb..3392b193 100644 --- a/lib/compass/commands/watch_project.rb +++ b/lib/compass/commands/watch_project.rb @@ -31,7 +31,7 @@ module Compass FSSM.monitor do |monitor| Compass.configuration.sass_load_paths.each do |load_path| monitor.path load_path do |path| - path.glob '**/*.sass' + path.glob '**/*.s[ac]ss' path.update &method(:recompile) path.delete {|base, relative| remove_obsolete_css(base,relative); recompile(base, relative)}