From 20eefabac842f1ca14ba0ab5ee65be98579cb899 Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Wed, 14 May 2025 19:36:29 +0300 Subject: [PATCH] Newly added files are always marked as affected --- config.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.inc.php b/config.inc.php index a155045..02d08b8 100644 --- a/config.inc.php +++ b/config.inc.php @@ -395,6 +395,11 @@ class ConfigManager } } + //NOTE: newly added files are marked as affected always without checking for staleness + // with the last run file + foreach($added_files as $file) + $affected_files->addFile($file, unique: true); + //if there were removed files we need to rebuild affected files foreach($removed_files as $file) {