parent
a060646b9e
commit
50a79c52f3
|
@ -1,5 +1,10 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
|
||||||
|
## 0.4.0 (unreleased)
|
||||||
|
|
||||||
|
- Fix `serve` not working with the config flag
|
||||||
|
|
||||||
## 0.3.4 (2018-06-22)
|
## 0.3.4 (2018-06-22)
|
||||||
|
|
||||||
- `cargo update` as some dependencies didn't compile with current Rust version
|
- `cargo update` as some dependencies didn't compile with current Rust version
|
||||||
|
|
|
@ -115,8 +115,8 @@ pub fn serve(interface: &str, port: &str, output_dir: &str, base_url: &str, conf
|
||||||
.chain_err(|| "Can't watch the `content` folder. Does it exist?")?;
|
.chain_err(|| "Can't watch the `content` folder. Does it exist?")?;
|
||||||
watcher.watch("templates/", RecursiveMode::Recursive)
|
watcher.watch("templates/", RecursiveMode::Recursive)
|
||||||
.chain_err(|| "Can't watch the `templates` folder. Does it exist?")?;
|
.chain_err(|| "Can't watch the `templates` folder. Does it exist?")?;
|
||||||
watcher.watch("config.toml", RecursiveMode::Recursive)
|
watcher.watch(config_file, RecursiveMode::Recursive)
|
||||||
.chain_err(|| "Can't watch the `config.toml` file. Does it exist?")?;
|
.chain_err(|| "Can't watch the `config` file. Does it exist?")?;
|
||||||
|
|
||||||
if Path::new("static").exists() {
|
if Path::new("static").exists() {
|
||||||
watching_static = true;
|
watching_static = true;
|
||||||
|
|
Loading…
Reference in a new issue