Refresh the file cache in WebRoot on NOTIFICATION_READY.

This commit is contained in:
Relintai 2023-03-22 14:29:09 +01:00
parent 517a5b9044
commit b92d4f19ca

View File

@ -192,6 +192,10 @@ void WebRoot::_notification(int p_what) {
r->update(); r->update();
} }
} else if (p_what == NOTIFICATION_READY) {
if (!_www_root_path.empty()) {
_www_root_file_cache->wwwroot_refresh_cache();
}
} }
} }