mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 04:24:50 +01:00
Temporarily stop mentioning sass --watch (#211)
This is not yet supported by Dart Sass (sass/dart-sass#264) and the documentation is confusing users.
This commit is contained in:
parent
4a38e3c003
commit
85b347c060
@ -1,3 +0,0 @@
|
||||
```
|
||||
sass --watch app/sass:public/stylesheets
|
||||
```
|
@ -42,23 +42,6 @@ title: Sass Basics
|
||||
terminal would take a single Sass file, `input.scss`, and compile that
|
||||
file to `output.css`.
|
||||
|
||||
You can also watch individual files or directories with the `--watch`
|
||||
flag. The watch flag tells Sass to watch your source files for
|
||||
changes, and re-compile CSS each time you save your Sass. If you wanted
|
||||
to watch (instead of manually build) your `input.scss` file, you'd just
|
||||
add the watch flag to your command, like so:
|
||||
|
||||
`sass --watch input.scss output.css`
|
||||
|
||||
You can watch and output to directories by using folder paths as your
|
||||
input and output, and separating them with a colon. In this example:
|
||||
|
||||
~ partial "code-snippets/homepage-sass-watch"
|
||||
|
||||
:markdown
|
||||
Sass would watch all files in the `app/sass` folder for changes, and
|
||||
compile CSS to the `public/stylesheets` folder.
|
||||
|
||||
%hr/
|
||||
|
||||
%li#topic-2
|
||||
|
Loading…
Reference in New Issue
Block a user