https://pantsbuild.org/ logo
#development
Title
# development
h

hundreds-father-404

10/05/2019, 12:07 AM
For better caching, have we thought about extracting out the core logic from `@console_rule`s into normal `@rule`s so that the only thing the
@console_rule
does is takes the computed information and figures out how to display it? For example,
./pants list
. We could make a rule that computes all the information so that it can get cached. Then, the console rule requests that rule and displays the results
w

witty-crayon-22786

10/05/2019, 1:25 AM
all of the heavy lifting of
list
already happens in
@rules
... all it does is print out the list
so if you run
./pants list ::
in Twitter's repo with pantsd it takes ~60 seconds the first time, and ~2 the second
👍 1