Skip to content

Commit

Permalink
Make the file watcher recursive by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Jun 2, 2024
1 parent f973649 commit 085cee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElunaLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ void ElunaLoader::ProcessScript(lua_State* L, std::string filename, const std::s
#ifdef TRINITY
void ElunaLoader::InitializeFileWatcher()
{
lua_scriptWatcher = lua_fileWatcher.addWatch(lua_folderpath, &elunaUpdateListener, false);
lua_scriptWatcher = lua_fileWatcher.addWatch(lua_folderpath, &elunaUpdateListener, true);
if (lua_scriptWatcher >= 0)
{
ELUNA_LOG_INFO("[Eluna]: Script reloader is listening on `%s`.",
Expand Down

0 comments on commit 085cee1

Please sign in to comment.