Is there a way to have dune runtest
run on every successful dune build -w
?
Also note that dune runtest
is just doing dune build @runtest
so you could also do dune build @runtest -w
. When you don’t provide any build targets to dune build
it defaults to @default
which is usually set to be @all
, i.e. all targets.