<@U06A03HV1> for <https://github.com/pantsbuild/pa...
# development
a
@witty-crayon-22786 for https://github.com/pantsbuild/pants/issues/4999 the functionality we really want is: 1. For each
ScanDir
in the graph, if a file is created or deleted which would change it, invalidate 2. For each
DigestFile
in the graph, if a file’s contents or permissions are modified, invalidate 3. Something something
ReadLink
something something where invalidate means that node, and its transitive rdeps And maybe some cleverness around debouncing Right?
w
yea, that sounds about right. and starting dumb and conservative (ie, unifying all changes of any kind into a notification that "path x and its parent directory have changed") would be fine... that's approximately what we have now via watchman.
ie: we don't currently consume its API at a finer granularity.