2016-01-04 21:29:19 +03:00
|
|
|
# Sass
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
> Converts SCSS or Sass files to CSS.
|
2016-01-04 21:29:19 +03:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Output converted file to stdout:
|
2016-01-04 21:29:19 +03:00
|
|
|
|
2016-07-22 00:46:44 +03:00
|
|
|
`sass {{inputfile.scss|inputfile.sass}}`
|
2016-01-04 21:29:19 +03:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Immediately convert SCSS or Sass file to CSS to specified output file:
|
2016-01-04 21:29:19 +03:00
|
|
|
|
2016-07-22 00:46:44 +03:00
|
|
|
`sass {{inputfile.scss|inputfile.sass}} {{outputfile.css}}`
|
2016-01-04 23:21:59 +03:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Watch SCSS or Sass file for changes and output or update CSS file with same filename:
|
2016-01-04 23:21:59 +03:00
|
|
|
|
2016-07-22 00:46:44 +03:00
|
|
|
`sass --watch {{inputfile.scss|inputfile.sass}}`
|
2016-01-04 23:21:59 +03:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Watch SCSS or Sass file for changes and output or update CSS file with specified filename:
|
2016-01-04 23:21:59 +03:00
|
|
|
|
2016-07-22 00:46:44 +03:00
|
|
|
`sass --watch {{inputfile.scss|inputfile.sass}}:{{outputfile.css}}`
|