Can anyone tell me how to compile sass into css automatically?
I use sass --watch stylesheet.scss:stylesheet.css
. When saving your .scss
file, it'll automatically update the .css
file.
You might also consider sass --watch stylesheet.scss:stylesheet.css --style expanded --sourcemap=none
to keep the .css
file readable.
I'd recommend the Sass Workflow class on Udemy.