refactor: update file watcher to use class-based implementation

This commit is contained in:
Paul Gauthier (aider) 2024-11-27 16:13:42 -08:00
parent 11c2eab967
commit f9bcfa14e0
2 changed files with 11 additions and 8 deletions

View file

@ -1,6 +1,5 @@
import base64
import os
import threading
import time
import webbrowser
from collections import defaultdict
@ -26,7 +25,7 @@ from rich.style import Style as RichStyle
from rich.text import Text
from aider.mdstream import MarkdownStream
from aider.watch import watch_source_files
from aider.watch import FileWatcher
from .dump import dump # noqa: F401
from .utils import is_image_file