mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
fix hot reload macro on unix
This commit is contained in:
parent
458c13fb74
commit
53380c9956
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ pub fn init<Ctx: HotReloadingContext + Send + 'static>(cfg: Config<Ctx>) {
|
||||||
// This will cause the local socket listener to fail to open
|
// This will cause the local socket listener to fail to open
|
||||||
// We check if the file socket is already open from an old session and then delete it
|
// We check if the file socket is already open from an old session and then delete it
|
||||||
if hot_reload_socket_path.exists() {
|
if hot_reload_socket_path.exists() {
|
||||||
let _ = std::fs::remove_file(hot_reload_socket_path);
|
let _ = std::fs::remove_file(hot_reload_socket_path.clone());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue