We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0a05c8d + ad462f4 commit 826827aCopy full SHA for 826827a
src/context.cpp
@@ -351,8 +351,9 @@ namespace Sass {
351
352
// process the resolved entry
353
else if (resolved.size() == 1) {
354
+ bool use_cache = c_importers.size() == 0;
355
// use cache for the resource loading
- if (sheets.count(resolved[0].abs_path)) return resolved[0];
356
+ if (use_cache && sheets.count(resolved[0].abs_path)) return resolved[0];
357
// try to read the content of the resolved file entry
358
// the memory buffer returned must be freed by us!
359
if (char* contents = read_file(resolved[0].abs_path)) {
0 commit comments