I would like dune utop
or another OCaml top-level to pick up changes I do to my code while it is running. It seems as if dune utop --watch
was designed to do that. Is that true? How do I make use of it?
In my experiments dune utop --watch
ignored changes I saved to my module source code. Executing variations of dune build
command didn't seem to help either.
Although apparently incompatible with dune
I also tried #use
and #mod_use
directives without any luck: utop
still didn't seem to pick up my code changes until restarted.