From e3ad16e5fe14a22b5e7195e0cf95fe23c479daa7 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Mon, 6 Dec 2010 13:52:17 -0800 Subject: [PATCH] Don't try to watch importer objects. --- lib/compass/commands/watch_project.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/compass/commands/watch_project.rb b/lib/compass/commands/watch_project.rb index 62bd3316..c7b083e9 100644 --- a/lib/compass/commands/watch_project.rb +++ b/lib/compass/commands/watch_project.rb @@ -60,6 +60,7 @@ module Compass FSSM.monitor do |monitor| Compass.configuration.sass_load_paths.each do |load_path| + next unless load_path.is_a? String monitor.path load_path do |path| path.glob '**/*.s[ac]ss'