mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
refactor: consolidate file watching code into dedicated class
This commit is contained in:
parent
f7a05cf077
commit
af195a610c
2 changed files with 4 additions and 2 deletions
|
@ -61,6 +61,7 @@ def load_gitignores(gitignore_paths: list[Path]) -> Optional[PathSpec]:
|
|||
return PathSpec.from_lines(GitWildMatchPattern, patterns) if patterns else None
|
||||
|
||||
|
||||
# ai: make a class for this that includes the code from io!
|
||||
def watch_source_files(
|
||||
directory: str,
|
||||
stop_event=None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue