2016-01-04 18:29:19 +00:00
|
|
|
# Sass
|
|
|
|
|
|
|
|
> Converts SCSS or Sass files to CSS
|
2016-01-04 18:33:52 +00:00
|
|
|
> .scss and .sass can be used interchangeably in below examples depending on your preference
|
2016-01-04 18:29:19 +00:00
|
|
|
|
2016-01-05 17:49:09 +00:00
|
|
|
- Output converted file to stdout
|
2016-01-04 18:29:19 +00:00
|
|
|
|
2016-01-05 17:49:09 +00:00
|
|
|
`sass {{inputfile.(scss|sass)}}`
|
2016-01-04 18:29:19 +00:00
|
|
|
|
2016-01-04 20:21:59 +00:00
|
|
|
- Immediately convert SCSS or Sass file to CSS to specified output file
|
2016-01-04 18:29:19 +00:00
|
|
|
|
2016-01-05 17:49:09 +00:00
|
|
|
`sass {{inputfile.(scss|sass)}} {{outputfile.css}}`
|
2016-01-04 20:21:59 +00:00
|
|
|
|
|
|
|
- Watch SCSS or Sass file for changes and output or update CSS file with same filename
|
|
|
|
|
2016-01-05 17:49:09 +00:00
|
|
|
`sass --watch {{inputfile.(scss|sass)}}`
|
2016-01-04 20:21:59 +00:00
|
|
|
|
|
|
|
- Watch SCSS or Sass file for changes and output or update CSS file with specified filename
|
|
|
|
|
2016-01-05 17:49:09 +00:00
|
|
|
`sass --watch {{inputfile.(scss|sass)}}:{{outputfile.css}}`
|