Skip to content

Commit

Permalink
fix: ignore cache relative to the resolved directory
Browse files Browse the repository at this point in the history
  • Loading branch information
vberlier committed Feb 17, 2021
1 parent eb5c860 commit 3e77d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beet/toolchain/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def watch(self, interval: float = 0.6) -> Iterator[FileChanges]:
interval,
ignore_file=".gitignore",
ignore_patterns=[
f"{self.cache.path.relative_to(self.directory)}/",
f"{self.cache.path.relative_to(self.directory.resolve())}/",
"__pycache__/",
"*.tmp",
".*",
Expand Down

0 comments on commit 3e77d79

Please sign in to comment.