Version info: sass -v
Compile: sass styles.scss styles.css
Auto-Compile for single files: sass --watch styles.scss:styles.css
Auto-Compile for folders: sass --watch .
N.B.
- There are no difference between underscores and dashes in variables:
$my_var === $my-var
- Skip default spaces with a leading ampersand:
&:hover
- Skip default nesting with an ending ampersand
body.blog &
- Prevent compiling for
@import
with a leading underscore:_normalize.scss
Check the documentation of the relative gem or package: