feat: android asset hotreloading (#3332)
This commit is contained in:
1 parent
6a10fd8d78
commit
ca70e8660d
4 files changed
+36
-8
No files matched your search
@@ -91,7 +91,7 @@ pub(crate) async fn serve_all(mut args: ServeArgs) -> Result<()> {
|
||||
|
||||
// if change is hotreloadable, hotreload it
|
||||
// and then send that update to all connected clients
|
||||
if let Some(hr) = runner.attempt_hot_reload(files) {
|
||||
if let Some(hr) = runner.attempt_hot_reload(files).await {
|
||||
// Only send a hotreload message for templates and assets - otherwise we'll just get a full rebuild
|
||||
if hr.templates.is_empty()
|
||||
&& hr.assets.is_empty()
|
||||
|
||||
Reference in new issue
Block a user