mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 04:24:50 +01:00
Be explicit about which dirs get --watch
ed. (#580)
This commit is contained in:
parent
b72c8094d5
commit
7e06369241
@ -196,7 +196,7 @@ body::before {
|
||||
padding: 1em;
|
||||
margin-bottom: 1em;
|
||||
border-bottom: 2px solid black;
|
||||
content: "Error: Incompatible units em and px.\a \2577 \a 1 \2502 $width: 15px + 2em;\a \2502 ^^^^^^^^^^\a \2575 \a test.scss 1:9 root stylesheet";
|
||||
content: "Error: Incompatible units em and px.\a \2577 \a 1 \2502 $width: 15px + 2em;\a \2502 ^^^^^^^^^^\a \2575 \a test.scss 1:9 root stylesheet";
|
||||
}
|
||||
Error: Incompatible units em and px.
|
||||
╷
|
||||
@ -291,6 +291,11 @@ stylesheets whenever they or their dependencies change.
|
||||
|
||||
[`--update` flag]: #update
|
||||
|
||||
Sass watches only the directories that you pass as-is on the command line,
|
||||
parent directories of filenames you pass on the command line, and load paths. It
|
||||
does not watch additional directories based on a file's `@import`/`@use`/
|
||||
`@forward` rules.
|
||||
|
||||
```shellsession
|
||||
$ sass --watch themes:public/css
|
||||
Compiled themes/light.scss to public/css/light.css.
|
||||
|
Loading…
Reference in New Issue
Block a user