Skip to content

Commit c24f7ed

Browse files
committed
fix
1 parent 055b49f commit c24f7ed

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

marimo/_server/sessions/session_manager.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def create_session(
175175
extensions.append(
176176
SessionFileWatcherExtension(
177177
self._watcher_manager,
178-
self._file_change_coordinator.handle_change,
178+
self._handle_file_change,
179179
)
180180
)
181181

@@ -214,6 +214,11 @@ def _create_file_change_coordinator(self) -> FileChangeCoordinator:
214214
)
215215
return FileChangeCoordinator(reload_strategy)
216216

217+
async def _handle_file_change(
218+
self, file_path: Path, session: Session
219+
) -> None:
220+
await self._file_change_coordinator.handle_change(file_path, session)
221+
217222
async def rename_session(
218223
self, session_id: SessionId, new_path: str
219224
) -> tuple[bool, Optional[str]]:

0 commit comments

Comments
 (0)