How do we tell the file watcher to ignore certain ...
# general
h
How do we tell the file watcher to ignore certain files? My current case is, while addressing https://github.com/pantsbuild/example-django/issues/12 by putting the .sqlite3 files in the cwd (so the repo root), as the migration runs it modifies those files, which causes it to rerun... *.sqlite3 is already gitignored and therefore pants-ignored, but that appears to not be sufficient.
e
Is this observed using Pants HEAD (Stu's recent fix / optimization of file watching code)?
Ah, no. Just HEAD. Still baking.
h
Yes, this is from current HEAD, including that commit
Oh, it's due to a tmpfile with the
.sqlite3-journal
suffix
👀 1
Adding
*.sqlite3-journal
to .gitignore sorts this out
w
the file watcher ignores whatever is ignored by
.gitignore
or
pants_ignore