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

average-breakfast-91545

03/23/2023, 12:24 PM
Is there a native way to run tests in "watch" mode? I often run tests in a loop while I'm working so I can immediately see failures. I can just use
entr
but wondered if pants can do this for me.
h

happy-kitchen-89482

03/23/2023, 12:25 PM
There is!
pants --loop ...
b

busy-vase-39202

03/23/2023, 12:25 PM
h

happy-kitchen-89482

03/23/2023, 12:26 PM
Works with
test
,
lint
, even
run
(if your binary is marked as
restartable
)
a

average-breakfast-91545

03/23/2023, 12:26 PM
Thank you for not telling me to RTFM ❤️
Thanks!
b

busy-vase-39202

03/23/2023, 12:26 PM
:⁠-⁠)
2 Views