mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 20:53:06 +00:00
use log::info instead of print
This commit is contained in:
parent
aa9f5a1a42
commit
1d29f66cfc
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ async fn hot_reload_handler(
|
|||
Extension(state): Extension<Arc<HotReloadState>>,
|
||||
) -> impl IntoResponse {
|
||||
ws.on_upgrade(|mut socket| async move {
|
||||
println!("🔥 Hot Reload WebSocket is connected.");
|
||||
log::info!("🔥 Hot Reload WebSocket connected");
|
||||
let mut rx = state.messages.subscribe();
|
||||
loop {
|
||||
let read_set_rsx = rx.recv();
|
||||
|
|
Loading…
Reference in a new issue