Visual Studio 2019 - Auto Refresh

Is there a setting I’m missing for a project in Visual Studio to auto refresh/reload when adding a new C# file from the UnityEditor?

With the previous bundled version of Visual Studio that came with the UnityEditor it would do this but after upgrading to Visual Studio 2019 I have to manually “reload” the project from within Visual Studio which undoes any unsaved changes.

Thanks.

Found the solution and put it on
Stackoverflow.