0

Sample Directory

Root 
- Js   folder
- css folder
-Sass input folder
-input.scss
-Sass output folder
- compiled css folder
- php

I am newbie to sass, I know how to use Sass --watch input.scss:output.css to start the project

Is it possible to save output.css to other folder like sample above directory, i want to save to other folder name sass output folder

I tried this

Sass --watch input.scss: root/css/sass output/output.css

But I got an error.

Supposed to be like this

Root 
- Js   folder
- css folder
-Sass input folder
-input.scss
-Sass output folder
-output.css
- compiled css folder
- php
2
  • What error did you get? Commented Oct 22, 2014 at 12:11
  • i got error message "no such file or directory @ rb-sysopen -" Commented Oct 22, 2014 at 13:27

1 Answer 1

1

You can change the folder using the method you suggested for example:

sass --watch root/css/sass:root/css/output

Will watch the files in root/css/sass and compile them to root/css/output/

Sign up to request clarification or add additional context in comments.

1 Comment

Congrats, for reference the docs are here sass-lang.com/documentation/file.SASS_REFERENCE.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.