diff --git a/modules/web/http/web_root.cpp b/modules/web/http/web_root.cpp index a6d30a7b9..693ea40b8 100644 --- a/modules/web/http/web_root.cpp +++ b/modules/web/http/web_root.cpp @@ -192,6 +192,10 @@ void WebRoot::_notification(int p_what) { r->update(); } + } else if (p_what == NOTIFICATION_READY) { + if (!_www_root_path.empty()) { + _www_root_file_cache->wwwroot_refresh_cache(); + } } }