You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
# a.scss
@import 'b';
@import 'c';
body {
height: 100%;
}
# b.scss
body {
height: 100%;
}
# c.scss
body {
height: 100%;
}
This produces the following metafiles
# Version 1.5.1
a:3:{s:4:"etag";s:32:"601fc4bcc19b878a97a57ae8927cd4e5";s:7:"imports";a:2:{s:33:"/var/www/css/theme/othello/b.scss";i:1636627636;s:33:"/var/www/css/theme/othello/c.scss";i:1636627636;}s:4:"vars";i:2723407904;}
# Version 1.0.9
a:3:{s:4:"etag";s:32:"ce69e5d65310f5daaec2885e5d070987";s:7:"imports";a:3:{s:33:"/var/www/css/theme/othello/a.scss";i:1636627636;s:33:"/var/www/css/theme/othello/b.scss";i:1636627636;s:33:"/var/www/css/theme/othello/c.scss";i:1636627636;}s:4:"vars";i:2723407904;}
The version 1.0.9 also includes the a.scss file, but version 1.5.1 does not.
Activity
greew commentedon Nov 11, 2021
After thinking it even more through, maybe we can fix it by changing
server/src/Server.php
Line 229 in 87599c4
dleffler commentedon Jan 5, 2022
that solution probably also needs to be included in the other getIncludedFiles() call in the compileFile() function.
Updates to better work with SCSSPHP v1.9.0+