flaki/daemon

Show if currently building

Opened this issue · 0 comments

flaki commented

The first thing would be exposing this information, probably in some form of a "magic" URL that exposes an API endpoint.

The easiest/most flexible way to expose this on the built documents would be to allow custom JavaScript code to be injected into served HTML documents whenever there is an ongoing build, this JavaScript could be customized per deployment and would (long-)poll the "magic" endpoint for updates, upon which it would show a throbber or something.