1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-14 14:24:10 +02:00

Fixed FileWatcher overflow manual override

This commit is contained in:
Brian Fiete 2020-11-04 06:51:30 -08:00
parent 07cdbbf142
commit 716ec05394
4 changed files with 51 additions and 5 deletions

View file

@ -10,6 +10,7 @@ using Beefy.utils;
using IDE.Util;
using IDE.ui;
using IDE.util;
using System.IO;
namespace IDE.Compiler
{
@ -419,6 +420,7 @@ namespace IDE.Compiler
var editData = gApp.GetEditData(projectSource, false);
using (gApp.mMonitor.Enter())
{
editData.mFileTime = File.GetLastWriteTime(sourceFilePath).GetValueOrDefault();
editData.SetSavedData(data, char8IdData);
if (hash case .MD5(let md5Hash))
editData.mMD5Hash = md5Hash;