Skip to content

Commit 277a246

Browse files
committed
Move the sass cache from tmp/sass-cache to tmp/cache/sass
1 parent fa76559 commit 277a246

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/sass/rails/railtie.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ module SassContext
1111
config.sass.preferred_syntax = :scss
1212
# Use expanded output instead of the sass default of :nested
1313
config.sass.style = :expanded
14-
# Write sass cache files to tmp/sass-cache for performance
14+
# Write sass cache files for performance
1515
config.sass.cache = true
16-
# Read sass cache files from tmp/sass-cache for performance
16+
# Read sass cache files for performance
1717
config.sass.read_cache = true
1818
# Display line comments above each selector as a debugging aid
1919
config.sass.line_comments = true
@@ -48,8 +48,8 @@ module SassContext
4848
# Override stylesheet engine to the preferred syntax
4949
config.app_generators.stylesheet_engine syntax
5050

51-
# Set the sass cache location to tmp/sass-cache
52-
config.sass.cache_location = File.join(Rails.root, "tmp/sass-cache")
51+
# Set the sass cache location
52+
config.sass.cache_location = File.join(Rails.root, "tmp/cache/sass")
5353

5454
# Establish configuration defaults that are evironmental in nature
5555
if config.sass.full_exception.nil?

0 commit comments

Comments
 (0)