From 7e06369241b8a055c59fe7465218d5ea1d7b19dc Mon Sep 17 00:00:00 2001 From: Awjin Ahn Date: Wed, 22 Sep 2021 15:02:11 -0700 Subject: [PATCH] Be explicit about which dirs get `--watch`ed. (#580) --- source/documentation/cli/dart-sass.html.md.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/documentation/cli/dart-sass.html.md.erb b/source/documentation/cli/dart-sass.html.md.erb index db56f55..3bf3722 100644 --- a/source/documentation/cli/dart-sass.html.md.erb +++ b/source/documentation/cli/dart-sass.html.md.erb @@ -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.