Pants does not yet have compile caching turned on ...
# general
e
Pants does not yet have compile caching turned on by default. It only remembers the result of the last compile of any given target by default. I believe this explains your A -> B -> A example.