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
I set up a new dev environment and did the standard "gem install haml" command to get the latest version, but it turns out sass is in version 3 now and has made some major syntax changes. I went through and updated my syntax to match only to discover that django-css won't compile using sass 3.
If you try to load a page that requires a .sass file, the browser hangs and never loads the page. Hitting reload results in the page loading, but without the css from your .sass file. Checking the .css that was created reveals that it is empty. Running "sass myfile.sass myfile.css" from the shell does just fine at compiling the sass to css, but django-css can't do it at run-time anymore. I even tried putting some sass code in a {% sass %} block directly in my template and that worked, but working with .sass files fails every time.
To make sure the new version of sass was the culprit, I rolled by my .sass changes, confirmed that everything was still broken, then did this: "gem uninstall haml"..."gem install haml --version 2.2.24" - after uninstalling and reinstalling with the old version of sass everything worked perfectly.
Not sure where the source of the problem is here, but I didn't have time to do any more troubleshooting and will be sticking with Sass 2 for now. My best guess is that there is some compatibility problem between django-css and Sass 3.
The text was updated successfully, but these errors were encountered:
I set up a new dev environment and did the standard "gem install haml" command to get the latest version, but it turns out sass is in version 3 now and has made some major syntax changes. I went through and updated my syntax to match only to discover that django-css won't compile using sass 3.
If you try to load a page that requires a .sass file, the browser hangs and never loads the page. Hitting reload results in the page loading, but without the css from your .sass file. Checking the .css that was created reveals that it is empty. Running "sass myfile.sass myfile.css" from the shell does just fine at compiling the sass to css, but django-css can't do it at run-time anymore. I even tried putting some sass code in a {% sass %} block directly in my template and that worked, but working with .sass files fails every time.
To make sure the new version of sass was the culprit, I rolled by my .sass changes, confirmed that everything was still broken, then did this: "gem uninstall haml"..."gem install haml --version 2.2.24" - after uninstalling and reinstalling with the old version of sass everything worked perfectly.
Not sure where the source of the problem is here, but I didn't have time to do any more troubleshooting and will be sticking with Sass 2 for now. My best guess is that there is some compatibility problem between django-css and Sass 3.
The text was updated successfully, but these errors were encountered: