Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion dashboard/backend/brain_repo/watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ def start(self) -> None:

watched_any = False
for rel_path in WATCH_PATHS:
watch_target = self._brain_repo_dir / rel_path
# Watch the SOURCE (install_dir / working tree) — that's where the user
# actually edits files. Pre-fix this pointed at brain_repo_dir, which is
# the SYNC TARGET and only changes when copytree runs (no useful signal),
# so auto-sync never fired for user edits.
watch_target = self._install_dir / rel_path
if watch_target.exists():
self._observer.schedule(
self._handler,
Expand Down