CSS framework syntax (compress.rb) will not “compile” some changes

I use Sass to create my CSS and Blueprint as my structure. Since I use these tools for a Django application, my workflow:

  • Edit scss file in emacs while sass --watch works

  • Save the file and alt-tab tab to the terminal to run ruby compress.rb -p project1

  • Reset my local dev server

  • View changes on the page

However, I recently added some changes, and Blueprint will not include them in compilation from typography / forms / grid / reset.css files to screen / print / ie.css. The scss files passed validation with Sass, and changes were made to the CSS files compiled by Sass. However, they are not in the last screen.css file. How to fix it? This is very frustrating.

+4
source share
1 answer

sass --watch watches for changes. If the file that he is viewing has not changed, he will not recompile it.

It beat me in the ass in one project, where I made extensive changes to various partial ones that never appeared in the generated CSS file, since, of course, I did not edit the sass file that I was looking at.

+1
source

Source: https://habr.com/ru/post/1343933/


All Articles