Last Updated: February 25, 2016
·
1.087K
· derhasi

Compass: disable debugging comments for a VCS

Whenever you store your sass AND compiled css files in the same repo, make sure you disabled debugging comments. This way you can really use your commit's diff.

If you are using compass, simply add the following line to your config.rb:
line_comments = false

When you want to debug your CSS, you still can recompile your CSS locally with line_comments = true.