typo fixes
This commit is contained in:
parent
cc7ac3e617
commit
b8be3d8d53
2 changed files with 6 additions and 2 deletions
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
|
@ -1,11 +1,15 @@
|
|||
{
|
||||
"cSpell.words": [
|
||||
"Deserialization",
|
||||
"Hotwatch",
|
||||
"Serializer",
|
||||
"actix",
|
||||
"bunbun",
|
||||
"bunbunsearch",
|
||||
"canonicalize",
|
||||
"itertools",
|
||||
"opensearchdescription"
|
||||
"opensearchdescription",
|
||||
"tempfile"
|
||||
],
|
||||
"python.pythonPath": "/usr/bin/python3"
|
||||
}
|
|
@ -150,7 +150,7 @@ fn start_watch(
|
|||
) -> Result<Hotwatch, BunBunError> {
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue