From 0b1f296b875d4ae709cbbe61340953f0d973e4e6 Mon Sep 17 00:00:00 2001 From: Aarin Smith Date: Mon, 4 Jan 2016 12:21:59 -0800 Subject: [PATCH] Updated sass to documented syntax. Added commands for non-specified naming Signed-off-by: Aarin Smith --- pages/common/sass.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pages/common/sass.md b/pages/common/sass.md index 4025dc886..a4d349b32 100644 --- a/pages/common/sass.md +++ b/pages/common/sass.md @@ -3,10 +3,18 @@ > Converts SCSS or Sass files to CSS > .scss and .sass can be used interchangeably in below examples depending on your preference -- Immediately one time convert SCSS or Sass file to CSS +- Immediately convert scss file and output css with same filename -`sass {{inputfile}}.scss:{{outputfile}}.css` +`sass {{inputfile}}.scss` -- Watch SCSS or Sass file for changes and update CSS file +- Immediately convert SCSS or Sass file to CSS to specified output file -`sass --watch {{inputfile}}.scss:{{outputfile}}.css` +`sass {{inputfile}}.scss {{outputfile}}.css` + +- Watch SCSS or Sass file for changes and output or update CSS file with same filename + +`sass --watch {{inputfile}}.scss` + +- Watch SCSS or Sass file for changes and output or update CSS file with specified filename + +`sass --watch {{inputfile}}.scss:{{outputfile}}.css` \ No newline at end of file