This commit is contained in:
Vincent Prouillet 2018-10-22 22:34:38 +02:00
parent 2e84409c51
commit 19b4341957
2 changed files with 2 additions and 1 deletions

View file

@ -34,6 +34,7 @@ sections up to the index to be used with the `get_section` Tera function
- Add `relative_path` to pages and sections in templates - Add `relative_path` to pages and sections in templates
- Do not have a trailing slash for the RSS permalinks - Do not have a trailing slash for the RSS permalinks
- `serve` will now try to find other ports than 1111 rather than panicking - `serve` will now try to find other ports than 1111 rather than panicking
- Ensure content directory exists before rendering aliases
## 0.4.2 (2018-09-03) ## 0.4.2 (2018-09-03)

View file

@ -202,7 +202,7 @@ fn can_build_site_with_live_reload() {
let tmp_dir = tempdir().expect("create temp dir"); let tmp_dir = tempdir().expect("create temp dir");
let public = &tmp_dir.path().join("public"); let public = &tmp_dir.path().join("public");
site.set_output_path(&public); site.set_output_path(&public);
site.enable_live_reload(); site.enable_live_reload(1000);
site.build().unwrap(); site.build().unwrap();
assert!(Path::new(&public).exists()); assert!(Path::new(&public).exists());