#863·watchexec

--ignore gets ignored + unowned files break all watching

Author: JanzenJohnCreated Sep 24, 2024Updated Sep 24, 2024
Labelsbug
  • Watchexec's version watchexec 2.1.2 (2024-09-22) +pid1 build-date: 2024-09-22 release: 2.1.2 features: default,pid1
  • The OS you're using 6.10.10-arch1-1
  • A log with -vvv --log-file (if it has sensitive info you can email it at [email protected] — do that after filing so you can reference the issue ID) log.log
  • A sample command that you've run that has the issue watchexec -r --exts rs -vvv --log-file log.log --ignore [REDACTED]/git-shit/[PROJECT]/db -- cargo run

I use watchexec to restart a rust programm as kind of a live deployment. In my Project folder is a folder called db which is owned by root, i have given the folder as an argument to --ignore but it still tries to subscribe to it + fails to subscribe to some files because of this.

If unowned files are a silent fail I expect to still subscribe to the remaining files instead of stopping at the unowned files