Allow compass compile to traverse symlinks. Fixes #1379 #1380

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

xzyfer commented Sep 17, 2013

Sometimes asset pipeline setups require directories to be symlinked from a working directory to a public directory, for example when using mixins defined in bower'd components.

Compass currently doesn't support this because Dir.glob('**') does not traverse symlinks to prevent infinite loops.

Sprokets had a similar issue and solved it by allowing symlink traversal for up to one level sstephenson/sprockets#189. I've ported their patch to compass.

I'm not a ruby developer by trade so I image this could be made more terse.

Owner

chriseppstein commented Dec 3, 2013

My guess is the sass compiler has a similar issue. I'd really like to standardize on a single implementation for both the sass compiler is quite good now and can replace the compass compiler, IMO.

I'd like to wait to merge this until after 1.0.

Owner

chriseppstein commented Aug 18, 2014

Compass uses the Sass compiler now. If this bug exists there, we should fix it in Sass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment