Desired Behavior
I often run dune test, dune build @test/<test> or dune exec <exe> while the build server is running, get the error A running dune instance has locked the build directory., kill the build server, and then run my original command again. I would rather not have to do this. I understand that these commands all build some files before running them so perhaps they could just take the latest versions of the files they need if they notice that the build server is running, possibly after waiting for the current build to complete.
Example
Inside a dune project, in one terminal I want to be able to run:
And in a second terminal in the same project I want to be able to run:
...or...
...or...
dune build @test/name_of_test
...without the fact that the build directory is locked preventing the command from running.