web: only reload on version skew in release
This commit is contained in:
parent
1411961e36
commit
408d6ed8ba
@ -597,6 +597,7 @@ pub fn update(msg: Msg, model: &mut Model, orders: &mut impl Orders<Msg>) {
|
||||
"Server ({}) and client ({}) version mismatch, reloading",
|
||||
version, model.versions.client
|
||||
);
|
||||
#[cfg(not(debug_assertions))]
|
||||
orders.send_msg(Msg::Reload);
|
||||
}
|
||||
model.versions.server = Some(version);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user