mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-23 01:58:00 +02:00
Fixed UpdateRebuildFileWatches removing watched directories
This commit is contained in:
parent
18f7a5bd09
commit
61b38b06c5
2 changed files with 17 additions and 1 deletions
|
@ -581,6 +581,18 @@ namespace IDE
|
|||
#endif
|
||||
}
|
||||
|
||||
public bool HasDependentObject(Object dependentObject)
|
||||
{
|
||||
for (var watchedFileKV in mWatchedFiles)
|
||||
{
|
||||
if (watchedFileKV.value.mDependentObjects.Contains(dependentObject))
|
||||
return true;
|
||||
}
|
||||
if (mDependencyChangeSet.Contains(Internal.UnsafeCastToPtr(dependentObject)))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
public void Update(delegate void(String, String, WatcherChangeTypes) fileChangeHandler = null)
|
||||
{
|
||||
while (true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue