The prolific @borkdude has inspired me to take a shot at blogging with babashka. I am using his approach as described here.
I've tweaked the code a bit so that I can run bb watch
which
8080
by defaultlive.js
polls the server with head
requests and looks at headers like etag
, last-modified
and content-type
to determine if the page should be reloaded.
It was interesting to learn that the babashka filewatcher pod is written in Rust.
This blog's source is here.
Published: 2021-12-14