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

gorgeous-eve-12553

07/26/2020, 2:05 PM
Does anyone know if there is a way to run multiple goals in loop mode at the same time? I'd like to have a loop running for test, lint, and typecheck against all targets, all the time. (Pants 2.0)
And if the answer is no, is there any harm in running each in a different window at the same time?
w

witty-crayon-22786

07/26/2020, 11:17 PM
`./pants --loop test lint typecheck ::`should do that
unfortunately, multiple concurrent runs are not supported with
pantsd
, but should be before 2.0: https://github.com/pantsbuild/pants/issues/7654
if you run without
pantsd
you can run concurrently, but the individual runs will not share work
h

hundreds-father-404

07/26/2020, 11:51 PM
if you run without
pantsd
you can run concurrently, but the individual runs will not share work
You need pantsd for loop to work though, I believe
w

witty-crayon-22786

07/26/2020, 11:52 PM
not post-watchman-removal… all runs regardless of
pantsd
use
notify
💯 1
(iirc… lemme confirm.)
yea, confirmed.