Thicket thicket
cambridge
REPOS 4

Projects covers Forester, Merry, xdge and ocaml-crockford.

W37.2026 · 7–13 Sep / Issue

Standalone refreshing preview server

tangled · jonmsterling.com/ocaml-forester · did:plc:5wfpkprwcbhwb2jknr33tbxs

I understand that the LSP server has an HTTP preview server attached to it which auto-rebuilds on changes; it would be nice if this functionality was also available outside of the LSP.

Comments

did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

I had something like this in the works, I need to comb through my git stashes...


did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

In any case, it was sort of a hack that exposed an HTTP endpoint that could be pinged with watchexec, since file watching from within ocaml is not feasible at the moment


did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

Duplicate of https://tangled.org/jonmsterling.com/ocaml-forester/issues/8