Skip to content

Commit a761316

Browse files
committed
Merge pull request #659 from Gama11/DetectHaxelibVersionChanges2
Update the HaxeProject when the user refreshes the project
2 parents 0cb68e3 + e99befe commit a761316

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

External/Plugins/HaXeContext/Context.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ private List<string> LookupLibrary(string lib)
208208
public override void UserRefreshRequest()
209209
{
210210
haxelibsCache.Clear();
211+
HaxeProject proj = PluginBase.CurrentProject as HaxeProject;
212+
if (proj != null) proj.UpdateVars(false);
211213
}
212214

213215
/// <summary>

0 commit comments

Comments
 (0)