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

hundreds-raincoat-83920

12/16/2021, 12:46 AM
Is it possible to disable the “cancel if the file system changes”? I know there’s a --loop option, but my usual workflow doing development is run a script, make some (maybe unrelated) changes while I wait for it to crash, read the logs, repeat, so looping would get in the way of that a bit.
h

hundreds-father-404

12/16/2021, 12:51 AM
There is
--no-watch-filesystem
, but it doesn't work with Pantsd (the Pants daemon) which is a substantial performance boost @ancient-vegetable-10556 do you remember why Pantsd can't work with this option?
a

ancient-vegetable-10556

12/16/2021, 12:52 AM
I don’t recall it getting in the way of
pantsd
, just that it allows you to switch off a feature that isn’t necessary if you don’t need
pantsd
h

hundreds-father-404

12/16/2021, 12:53 AM
from it's help
Copy code
`pantsd` or `loop` may not be enabled.
I'm wondering why
--pantsd
cannot be enabled. Makes sense with
--loop
Oh, because this literally turns off file watching entirely, so the daemon wouldn't pick up changes between Pants runs (aka "sessions") Hm, so we would want a new option like
--no-restart-on-changes
, I think