-
Notifications
You must be signed in to change notification settings - Fork 7
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
Caching problems #7
Comments
After thinking it even more through, maybe we can fix it by changing Line 229 in 87599c4
'imports' => $this->makeParsedFilesFromIncludeFiles(array_merge([$in], $result->getIncludedFiles())), |
that solution probably also needs to be included in the other getIncludedFiles() call in the compileFile() function. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After having upgraded from 1.0.9 to 1.5.1, the caching no longer works as expected.
As an example - I have three files:
This produces the following metafiles
The version 1.0.9 also includes the
a.scss
file, but version 1.5.1 does not.I can see that when
server/src/Server.php
Line 229 in 87599c4
$this->scss->getParsedFiles()
to the current version, the original file isn't anymore a part of the returned filed.I'd like to help and mostly need to know, whether the line https://github.com/scssphp/scssphp/blob/eba0633bf8a527738d2aca210b4a0cb182599c5d/src/CompilationResult.php#L54 ought to also include the originally parsed file, or if we should add it manually in this repository?
Best regards
/Jesper
The text was updated successfully, but these errors were encountered: