1 minute read

By default Compass will place the .sass-cache folder in the project root directory. I prefer to keep all caches and temporary file builds for my projects in the .tmp folder.

Luckily, Compass has the ability to set the cache folder location but it appears to be undocumented.

Simply ass the following to the config.rb for the project:

cache_path = 'PREFERRED_PATH/.sass-cache'

# Eg.

cache_path = '.tmp/.sass-cache'

Note: The cache_path is relative to the config.rb file and not the project_path.

Tested with Compass v0.12.2

comments powered by Disqus