19 lines
412 B
Perl
19 lines
412 B
Perl
|
|
Demonstrate building through rpc when server is running in eager watch
|
||
|
|
|
||
|
|
$ echo '(lang dune 3.8)' > dune-project
|
||
|
|
$ mkdir src
|
||
|
|
$ echo '(library (name foo))' > src/dune
|
||
|
|
$ touch src/a.ml
|
||
|
|
$ touch src/b.ml
|
||
|
|
|
||
|
|
$ dune build @all
|
||
|
|
$ dune build --watch &
|
||
|
|
Success, waiting for filesystem changes...
|
||
|
|
Success, waiting for filesystem changes...
|
||
|
|
|
||
|
|
$ dune rpc build --wait .
|
||
|
|
Success
|
||
|
|
|
||
|
|
$ dune shutdown
|
||
|
|
$ wait
|