Skip to content

Commit 43a7341

Browse files
committed
Guardfile : Sass fix for including lab-grapher.scss in grapher.sass.
1 parent 8339fc9 commit 43a7341

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Guardfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ group :build do
8585
command("make public/imports")
8686
end
8787

88-
watch(/^src\/(.+)\.sass$/) do |match|
88+
watch(/^src\/(.+)(\.sass)|(\.scss)$/) do |match|
8989
path = match[1]
9090
puts path
9191
if path =~ /^sass\//
9292
delete_css
9393
command("make")
9494
else
95-
command("bin/sass -I src --require ./src/helpers/sass/lab_fontface.rb src/#{path}.sass public/#{path}.css")
95+
command("bin/sass -I src -I public --require ./src/helpers/sass/lab_fontface.rb src/#{path}.sass public/#{path}.css")
9696
end
9797
end
9898

0 commit comments

Comments
 (0)