Skip to content

Commit

Permalink
docs: Add guide about resetting Pants
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Jun 9, 2022
1 parent 13bcb5b commit 5e80585
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/dev/daily-workflows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,19 @@ after merging ``requirements.txt`` and ``BUILD`` files.
$ git add python.lock
$ git commit
Resetting Pants
~~~~~~~~~~~~~~~

If Pants behaves strangely, you could simply reset all its runtime-generated files by:

.. code-block:: console
$ killall pantsd
$ rm -r .tmp .pants.d ~/.cache/pants
After this, re-running any Pants command will automatically reinitialize itself and
all cached data as necessary.

.. _debugging-tests:

Debugging test cases (or interactively running test cases)
Expand Down

0 comments on commit 5e80585

Please sign in to comment.