It seems that `pantsd` does not pick up changes to...
# general
c
It seems that
pantsd
does not pick up changes to
.gitignore
and is not restarted automatically, so it becomes a manual labor to make sure it is restarted in order for changes to have any effect. Is this known?
h
Have you tried adding
.gitignore
to
pantsd_invalidation_globs
? (https://www.pantsbuild.org/docs/reference-global#section-pantsd-invalidation-globs)
Possibly it should be in there by default
👍 2
c
Yeah, no I haven’t tried that (and realize that would work) However, as it uses it by default for ignore patterns, it would make sense to also invalidate on it by default 😉
w
it would yea: a patch would be welcome to do that.
there are a list of things that are consumed outside of
@rules
(so the usual invalidation doesn’t “just work”) here: https://github.com/pantsbuild/pants/blob/88e895a49823e76660ca3467b521ef84973ba104/src/python/pants/option/global_options.py#L1609-L1622
c