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
Hi, I have a on-fly compilation problem when using @import and two sass file :
This is a test case :
main.sass : @import layout.sass
_layout.sass :
in a play template :
{stylesheet src:'main.sass', media:'screen' /}
The problem :
When modify the _layout.sass content, the main.sass file is not re-compiled, to force the on-fly recompilation, I have to do a touch main.sass
Best regards,
Renaudeau Gaetan
The text was updated successfully, but these errors were encountered:
I found what the problem is. If you import other stylesheets without their extensions the dependency manager tries to look for a file that does not exist.
Quick solution is to add .scss or .sass to your imports.
we will have to look for both files in the code...
Engine.java line 145 : depSass = new File(depSass.getParentFile() + "/_" + depSass.getName());
Hi, I have a on-fly compilation problem when using @import and two sass file :
This is a test case :
main.sass :
@import layout.sass
_layout.sass :
in a play template :
{stylesheet src:'main.sass', media:'screen' /}
The problem :
When modify the _layout.sass content, the main.sass file is not re-compiled, to force the on-fly recompilation, I have to do a touch main.sass
Best regards,
Renaudeau Gaetan
The text was updated successfully, but these errors were encountered: