mirror of
https://github.com/getzola/zola
synced 2024-12-13 22:02:29 +00:00
* Update compile_sass docs, this is just for sass files in site root * Improve file watch error, question whether the target exists
This commit is contained in:
parent
f7cd28c8d2
commit
c27f749a86
2 changed files with 3 additions and 2 deletions
|
@ -82,7 +82,8 @@ taxonomies = []
|
|||
#
|
||||
languages = []
|
||||
|
||||
# When set to "true", the Sass files in the `sass` directory are compiled.
|
||||
# When set to "true", the Sass files in the `sass` directory in the site root are compiled.
|
||||
# Sass files in theme directories are always compiled.
|
||||
compile_sass = false
|
||||
|
||||
# A list of glob patterns specifying asset files to ignore when the content
|
||||
|
|
|
@ -255,7 +255,7 @@ pub fn serve(
|
|||
if should_watch {
|
||||
watcher
|
||||
.watch(root_dir.join(entry), RecursiveMode::Recursive)
|
||||
.map_err(|e| ZolaError::chain(format!("Can't watch `{}` for changes in folder `{}`. Do you have correct permissions?", entry, root_dir.display()), e))?;
|
||||
.map_err(|e| ZolaError::chain(format!("Can't watch `{}` for changes in folder `{}`. Does it exist, and do you have correct permissions?", entry, root_dir.display()), e))?;
|
||||
watchers.push(entry.to_string());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue