mirror of
https://github.com/getzola/zola
synced 2024-12-13 13:52:28 +00:00
parent
2e126b3a08
commit
c441f5e857
2 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
||||||
## 0.6.0 (unreleased)
|
## 0.6.0 (unreleased)
|
||||||
|
|
||||||
- Add support for content in multiple languages
|
- Add support for content in multiple languages
|
||||||
|
- Lower latency on serve before rebuilding from 2 to 1 second
|
||||||
|
- Allow processing PNG and produced images are less blurry
|
||||||
|
|
||||||
## 0.5.1 (2018-12-14)
|
## 0.5.1 (2018-12-14)
|
||||||
|
|
||||||
|
|
|
@ -176,7 +176,7 @@ pub fn serve(
|
||||||
let mut watching_static = false;
|
let mut watching_static = false;
|
||||||
let mut watching_templates = false;
|
let mut watching_templates = false;
|
||||||
let (tx, rx) = channel();
|
let (tx, rx) = channel();
|
||||||
let mut watcher = watcher(tx, Duration::from_secs(2)).unwrap();
|
let mut watcher = watcher(tx, Duration::from_secs(1)).unwrap();
|
||||||
watcher
|
watcher
|
||||||
.watch("content/", RecursiveMode::Recursive)
|
.watch("content/", RecursiveMode::Recursive)
|
||||||
.chain_err(|| "Can't watch the `content` folder. Does it exist?")?;
|
.chain_err(|| "Can't watch the `content` folder. Does it exist?")?;
|
||||||
|
|
Loading…
Reference in a new issue