Support for scss files in the compass watcher. Closes GH-78.
This commit is contained in:
parent
af274f408c
commit
31cde1b107
@ -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)}
|
||||||
|
Loading…
Reference in New Issue
Block a user