How can I nuke pants cache? I cleaned up repo/.pan...
# general
p
How can I nuke pants cache? I cleaned up repo/.pants ~/.cache/pants&nce .. but somethign is still being memoized
e
Kill pantsd (I use
pkill pantsd
on Linux).
p
Ah pantsd is keeping it's own state?
e
Yes. The ~/.cache/pants contains an LMDB database of cached actions (subprocesses run). The live pantsd caches finer-grained rule code invocations 1 layer higher before subprocesses are even run / hit in LMDB cache. If you run --no-pantsd you will witness just how much is cached at the pantsd layer. Pants is dog slow without that higher layer cache.
😆 1