Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/source/mypy_daemon.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ will always run on the current host. Example::
``dmypy run`` will automatically restart the daemon if the
configuration or mypy version changes.

.. note::

The set of source files may change between runs. If you add a file
to the command line, the running daemon picks it up and type checks
it without a restart, so the cached state is preserved. To type
check different sets of files at the same time, run one daemon per
set, each with its own status file (see ``--status-file``).

The initial run will process all the code and may take a while to
finish, but subsequent runs will be quick, especially if you've only
changed a few files. (You can use :ref:`remote caching <remote-cache>`
Expand Down
Loading