bitter-ability-32190
01/18/2022, 4:52 PMpants from a pex instead of ./pants
• Adding "!**/*.py", to the pantsd_invalidation_globs.addbitter-ability-32190
01/18/2022, 4:53 PMPants's own code, plugins, andare inherently invalidated.--pants-config-files
enough-analyst-54434
01/18/2022, 4:57 PMbitter-ability-32190
01/18/2022, 4:59 PMbitter-ability-32190
01/18/2022, 5:00 PMpolite-garden-50641
01/18/2022, 5:01 PMpantsd_invalidation_globs.add and exclude all of our code that doesn't run in pants (we do have some pants plugin code in our repo, so we still want to invalidate on that).
Having said that... pants understand dependencies now, so it should be able to do it automatically.enough-analyst-54434
01/18/2022, 5:01 PMhundreds-father-404
01/18/2022, 5:02 PMbitter-ability-32190
01/18/2022, 5:03 PM"!*_test.py", is in the invalidation globs, so that's what made me think to try "!***/**.py"bitter-ability-32190
01/18/2022, 5:10 PMwitty-crayon-22786
01/18/2022, 8:58 PMRunning^ this works well. i also tend to usefrom a pex instead ofpants./pants
--loop, since it will not restart pantsd until the client disconnects