mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2026-04-27 04:41:45 +00:00
workaround weird issue
This commit is contained in:
parent
41f81fb832
commit
8b63447d41
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue