Support for scss files in the compass watcher. Closes GH-78.

This commit is contained in:
Chris Eppstein 2010-01-10 08:09:02 -08:00
parent af274f408c
commit 31cde1b107

View File

@ -31,7 +31,7 @@ module Compass
FSSM.monitor do |monitor| FSSM.monitor do |monitor|
Compass.configuration.sass_load_paths.each do |load_path| Compass.configuration.sass_load_paths.each do |load_path|
monitor.path load_path do |path| monitor.path load_path do |path|
path.glob '**/*.sass' path.glob '**/*.s[ac]ss'
path.update &method(:recompile) path.update &method(:recompile)
path.delete {|base, relative| remove_obsolete_css(base,relative); recompile(base, relative)} path.delete {|base, relative| remove_obsolete_css(base,relative); recompile(base, relative)}