Merge pull request #1233 from ocaml/doc-watch

Document --watch flag
This commit is contained in:
Etienne Millon 2018-09-07 09:58:35 +02:00 committed by GitHub
commit 3c9cfbf1c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
=============================