Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compass is not following symbolic links #1729

Closed
sroze opened this issue Jul 23, 2014 · 2 comments
Closed

compass is not following symbolic links #1729

sroze opened this issue Jul 23, 2014 · 2 comments

Comments

@sroze
Copy link

sroze commented Jul 23, 2014

I'm bootstrapping a project on which SASS stylesheets are in different sub-folders and one aggregate them using symbolic links. The problem is that when I want to compile the directory, linked directories aren't found.

My directory structure is so simple:

samuel ~ $ ls -al app/public/
total 8
drwxr-xr-x   4 samuel  staff  136 Jul 23 10:55 .
drwxr-xr-x  10 samuel  staff  340 Jul 22 18:39 ..
drwxr-xr-x   3 samuel  staff  102 Jul 22 18:34 main
lrwxr-xr-x   1 samuel  staff   25 Jul 23 10:55 travel -> ../modules/travel/public/

This is the result of compass compile call on the master directory (app/public):

samuel ~ $ compass compile --sass-dir app/public  --css-dir .tmp/public -I ./bower_components/
unchanged app/public/main/stylesheets/main.scss

As you can see, the subdirectory travel is not discovered by compass. By the way, I can compile by setting the sass-dir of this sub-directory.

samuel ~ $ compass compile --sass-dir app/public/travel/  --css-dir .tmp/public -I ./bower_components/
unchanged app/public/travel/stylesheets/layout.scss

I'm running on Mac OS X:

samuel ~ $ uname -v
Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64

Note that the symbolic link points to a directory, not a file: this is working with files.

If you've any solution, thanks a lot in advance !

@Arcovion
Copy link

See guard/listen#25

@chriseppstein
Copy link
Member

Compass now uses the Sass compiler and watcher, can you please confirm this is working as expected in 1.0.0.rc.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants