Match on more places for asset reloading
This commit is contained in:
9 files changed
+32
-22
No files matched your search
@@ -218,6 +218,8 @@ pub async fn run(mut vdom: VirtualDom, ws: impl LiveViewSocket) -> Result<(), Li
|
||||
dioxus_hot_reload::HotReloadMsg::UpdateTemplate(new_template) => {
|
||||
vdom.replace_template(new_template);
|
||||
}
|
||||
// todo: enable hotreloading in liveview
|
||||
dioxus_hot_reload::HotReloadMsg::UpdateAsset(_) => {}
|
||||
dioxus_hot_reload::HotReloadMsg::Shutdown => {
|
||||
std::process::exit(0);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user