In a full stack project with both a web server and a melange frontend:
dune-project
my_server
my_react_app
- it’s nice to start the web server with
dune exec -w my_server
- build the melange project with
dune build -w @my_react_app
but when running either one after the other you get a dune lock error: A running dune (pid: ...) instance has locked the build directory.
How can you run both watchers at the same time? Or is there a better way?
4 posts - 3 participants