This commit is contained in:
Paul Gauthier 2024-10-25 12:49:52 -07:00
parent 01b5bdc829
commit c16224b37a
2 changed files with 6 additions and 4 deletions

View file

@ -73,6 +73,8 @@ def watch_source_files(
and returns True if it should be ignored
"""
root = Path(directory)
dump(root)
gitignore_paths = [Path(g) for g in gitignores] if gitignores else []
gitignore_spec = load_gitignores(gitignore_paths)
root_abs = root.absolute()