https://pantsbuild.org/ logo
#general
Title
# general
a

alert-dawn-51425

03/07/2023, 10:58 PM
Is there a way to ignore watching a single directory while running pants (place to keep docker volumes to preserve state).
it defaults to including things that are in the root
.gitignore
… but not nested `.gitignore`s right now.
b

broad-processor-92400

03/07/2023, 11:34 PM
If you set that, make sure to use
pants_ignore.add = ["path/to/dir"]
(note
.add
) not
pants_ignore = ["path/to/dir"]
. The second one overwrites the default which is usually not what you want for that option: https://www.pantsbuild.org/docs/options#addremove-semantics
👍 1
4 Views