fix: change fs watcher to rely more on instance ids than path (#6547)

* fix: change fs watcher to rely more on instance ids than path

* fix: fmt
This commit is contained in:
Calum H.
2026-06-29 14:38:44 +00:00
committed by GitHub
parent 4a972bca73
commit f6e6ac28d4
3 changed files with 139 additions and 126 deletions
@@ -106,6 +106,7 @@ pub(crate) async fn create_instance(
tx.commit().await?;
crate::state::instances::watcher::watch_instance_folder(
&instance.id,
&instance.path,
&state.file_watcher,
&state.directories,