how to apply `ignore` in source filter?
I have a python project using task, and I try to use
--watch
to restart my application. I'm using sources: ['**/*.py']
and this would include .venv
dir, which is third part library lives. Is there a way to exclude this from source?2 Replies
Hi @trim21,
In theory, that file should not be considered because it does not end with
.py
.
Anyway, it's possible to exclude files with exclude:
. See:
https://taskfile.dev/usage/#by-fingerprinting-locally-generated-files-and-their-sources.venv
directory holds package files, it's a very deep file tree may contains .py file...
thands