Document --watch flag

Signed-off-by: Etienne Millon <me@emillon.org>
This commit is contained in:
Etienne Millon 2018-09-06 17:56:02 +02:00
parent 9409f46cc0
commit e7fe7c3114
1 changed files with 8 additions and 0 deletions

View File

@ -189,6 +189,14 @@ specific sub-directory and its children by using:
- ``dune build @foo/bar/runtest``
- ``dune runtest foo/bar``
Watch mode
==========
The ``dune build`` and ``dune runtest`` commands support a ``-w`` (or
``--watch``) flag. When it is passed, dune will perform the action as usual, and
then wait for file changes and rebuild (or rerun the tests). This feature
requires ``inotifywait`` or ``fswatch`` to be installed.
Launching the Toplevel (REPL)
=============================