diff --git a/.vscode/settings.json b/.vscode/settings.json index 548102b..27c3941 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,11 +1,15 @@ { "cSpell.words": [ + "Deserialization", "Hotwatch", + "Serializer", "actix", "bunbun", "bunbunsearch", + "canonicalize", "itertools", - "opensearchdescription" + "opensearchdescription", + "tempfile" ], "python.pythonPath": "/usr/bin/python3" } \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 459fc30..7de3bf8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -150,7 +150,7 @@ fn start_watch( ) -> Result { let mut watch = Hotwatch::new_with_custom_delay(Duration::from_millis(500))?; // TODO: keep retry watching in separate thread - // Closures need their own copy of variables for proper lifecycle management + // Closures need their own copy of variables for proper life cycle management let config_file_path_clone = config_file_path.clone(); let watch_result = watch.watch(&config_file_path, move |e: Event| { if let Event::Write(_) = e {