Thicket thicket
cambridge
REPOS 4

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

W45.2026 · 2–8 Nov / Issue

Final tweaks to the CLI before release

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

  1. Forester has a --no-browser option, but I am not aware that the default behaviour is to open a browser automatically. At least it doesn't do so for me. I think that this option should simply be removed.

  2. I think that the default behaviour of running forester should be to show the help page, rather than to start the preview server. The live server, when not initiated by the LSP, is likely to be confusing to users are expecting it to include file-watching. I also think that forester start should probably be renamed to forester serve or forester preview.

What do you think @kento.tngl.sh ?

Comments

did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

Agreed.


did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

For file watching, I am considering just forking/vendoring irmin-watcher, for a later release


did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

https://tangled.org/jonmsterling.com/ocaml-forester/commit/b3bdd4a8c9946ea1c863407ac5e27dcb0653667c