if I need to persist something to disk that isn't ...
# development
h
if I need to persist something to disk that isn't part of a rule, can I just write it to a subdir of
$WORKSPACE/.pants.d
?
context here is that we'd like to persist async workunits to disk so we can replay them in case pants crashes
so I'd like
AsyncWorkunitHandler
to have a well-known location to look for a log file from a previous pants run, and I think
.pants.d
is the right place for that sort of thing?
a
yes, absolutely!
.pants.d/workunits/
would be my first attempt
👍 2