workaround weird issue

This commit is contained in:
PancakeTAS 2025-07-19 12:32:00 +02:00
parent 41f81fb832
commit 8b63447d41
No known key found for this signature in database

View file

@ -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);