Merge pull request #147 from una/master

added documentation on processing CSS with Sass in terminal
This commit is contained in:
₍˄ุ.͡˳̫.˄ุ₎ 2015-10-24 23:35:29 +02:00
commit 879b83e7cd
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,3 @@
```
sass --watch app/sass:public/stylesheets
```

View File

@ -29,7 +29,11 @@ title: Sass Basics
Once you start tinkering with Sass, it will take your preprocessed Sass file and save it out as a normal CSS file that you can use in your web site.
* * *
The most direct way to make this happen is in your terminal. Once Sass is installed, you can run `sass input.scss output.css` from your terminal. You can watch either individual files or entire directories. In addition, you can watch folders or directories with the `--watch` flag. An example of running Sass while watching an entire directory is the following:
~ partial "code-snippets/homepage-sass-watch"
%hr/
%li#topic-2
:markdown