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:
parent
07cdbbf142
commit
716ec05394
4 changed files with 51 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue