Doctave / doctave

A batteries-included developer documentation site generator
https://cli.doctave.com
MIT License
549 stars 33 forks source link

Question - livereload on dev #53

Open LironHazan opened 1 year ago

LironHazan commented 1 year ago

Hey :) Thanks again for this project! I started to play a bit with the source code (recent master, version 0.4.2) and noticed when in dev mode: cargo run serve or ./target/debug/doctave serve And editing one of the files of "docs" e.g. tutorial.md The reload logs indicates the site rebuilt but the browser didn't reload the page

File /Users/.../.../doctave/docs/tutorial.md updated. Site rebuilt in 423.13685ms File /Users/.../.../doctave/docs/tutorial.md~ deleted. Site rebuilt in 434.936333ms

It won't happen when using the globally installed cli I installed with brew doctave --version Doctave 0.4.2

System info: Darwin C02F54NDMD6T 21.4.0 Darwin Kernel Version 21.4.0: Mon Feb 21 20:34:37 PST 2022; root:xnu-8020.101.4~2/RELEASE_X86_64 x86_64

What am I missing? :) Thanks!