feat: android asset hotreloading (#3332)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-12-10 16:46:30 -08:00
1 parent 6a10fd8d78
commit ca70e8660d
4 files changed
+36 -8

No files matched your search

+1 -1
View File
@@ -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()