Css – sass –watch with automatic minify

cssminifysass

Is there a way to run:

sass --watch a.scss:a.css

but have a.css end up being minified?

How would I avoid having to run a separate minification step as I compile my stylesheet?

Best Answer

sass --watch a.scss:a.css --style compressed

Consult the documentation for updates: