From 8b63447d4167a603c60d2b3c48f13163d39c5569 Mon Sep 17 00:00:00 2001 From: PancakeTAS Date: Sat, 19 Jul 2025 12:32:00 +0200 Subject: [PATCH] workaround weird issue --- src/config/config.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config/config.cpp b/src/config/config.cpp index 13f0e22..0041afd 100644 --- a/src/config/config.cpp +++ b/src/config/config.cpp @@ -128,6 +128,9 @@ void Config::loadAndWatchConfig(const std::string& file) { updateConfig(file); // prepare config watcher + if (std::getenv("LSFG_NO_HOT_RELOAD")) + return; + std::thread([file = file, valid = globalConf.valid]() { try { thread(file, valid);