diff --git a/edxp-core/src/main/cpp/main/src/config_manager.cpp b/edxp-core/src/main/cpp/main/src/config_manager.cpp index 8beded8d7..b6e80090b 100644 --- a/edxp-core/src/main/cpp/main/src/config_manager.cpp +++ b/edxp-core/src/main/cpp/main/src/config_manager.cpp @@ -251,10 +251,13 @@ namespace edxp { fs::file_time_type ConfigManager::GetLastWriteTime() const { auto config_path = GetConfigPath(); + auto list_path = GetConfigPath("modules.list"); auto blacklist_path = GetConfigPath("blacklist"); auto whitelist_path = GetConfigPath("whitelist"); return std::max({path_exists(config_path) ? fs::last_write_time(config_path) : fs::file_time_type{}, + path_exists(list_path) ? fs::last_write_time(list_path) + : fs::file_time_type{}, path_exists(blacklist_path) ? fs::last_write_time(blacklist_path) : fs::file_time_type{}, path_exists(whitelist_path) ? fs::last_write_time(whitelist_path)