Be explicit about which dirs get --watched. (#580)

This commit is contained in:
Awjin Ahn 2021-09-22 15:02:11 -07:00 committed by GitHub
parent b72c8094d5
commit 7e06369241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.