How does pants detect when other pants invocations...
# general
h
How does pants detect when other pants invocations are running?
c
there is a pants daemon that the pants client talks to
so running with
--no-pantsd
it doesn’t 🙂
the pantsd pid is in
./.pids/
h
Are there any safety issues by having concurrent runs when you don’t use the daemon? The only cautions I’ve seen are about performance for cache look ups and build graph construction.
c
not sure, I’m thinking it ought to be safe.
h
It's possible that multiple runs that attempt to write to
dist
might step on each others' toes. There are some attempts to make some
dist
writes atomic, but it's not standardized or bulletproof.
But generally I think it should be ok