1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 15:46:05 +02:00

Fix detection of external modifications

This commit is contained in:
disarray2077 2023-05-05 15:03:24 -03:00
parent d3ca45d80a
commit 64700d7a95
3 changed files with 17 additions and 6 deletions

View file

@ -1473,6 +1473,12 @@ namespace IDE
if (strOutDlg != null)
strOutDlg(useText);
for (var entry in mWorkspace.mProjectFileEntries)
{
if (entry.mPath == path)
entry.UpdateLastWriteTime();
}
return true;
}
@ -2868,7 +2874,7 @@ namespace IDE
}
else
{
mWorkspace.mProjectFileEnties.Add(new .(workspaceFileName));
mWorkspace.mProjectFileEntries.Add(new .(workspaceFileName));
if (mVerb == .New)
{
@ -13871,7 +13877,7 @@ namespace IDE
CheckReloadSettings();
bool hadChange = false;
for (var entry in mWorkspace.mProjectFileEnties)
for (var entry in mWorkspace.mProjectFileEntries)
{
if (entry.HasFileChanged())
{