mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 03:55:59 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user