mirror of
https://github.com/danog/sass-site.git
synced 2024-11-30 04:29:17 +01:00
added documentation on processing CSS with Sass in terminal to resolve #134
This commit is contained in:
parent
18eb39b6cc
commit
c341986dc1
3
source/code-snippets/_homepage-sass-watch.md
Normal file
3
source/code-snippets/_homepage-sass-watch.md
Normal file
@ -0,0 +1,3 @@
|
||||
```
|
||||
sass --watch app/sass:public/stylesheets
|
||||
```
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user