Skip to content

Commit

Permalink
Fixed watchdog watching wrong directories
Browse files Browse the repository at this point in the history
  • Loading branch information
dankmolot committed Jul 10, 2024
1 parent cf193c3 commit ef2679f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.5
2.1.6
2 changes: 1 addition & 1 deletion source/watchdog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void MoonLoader::Watchdog::WatchFile(const std::string& path, const char* pathID

std::string fullPath = fs->RelativeToFullPath(path, pathID);
Utils::Path::Normalize(fullPath);
Utils::Path::Resolve(fullPath);
Utils::Path::StripFileName(fullPath);
if (fullPath.empty()) {
DevWarning("[Moonloader] Unable to find full path for %s\n", path.c_str());
return;
Expand Down

0 comments on commit ef2679f

Please sign in to comment.