Hot reload stops project from compiling

I recently updated my C++ project from UE4.25.4 to UE4.26.1 and now whenever I hit Build in Visual Studio (15.9.33) it wont hot reload most of the time. On rare occasions it will, but it’s probably 1 in 10 at the moment.

If I restart the Unreal editor, it still doesn’t reload and I have to manually delete the Binaries folder and open the project again waiting for it to rebuild before my code changes take affect.

Is this a known issue and if so is there a work around?

Just to add to this, I eventually realized the Compile button in the Unreal Editor works fine, so I was able to continue with my project.
I have no idea if there is a difference using the button in the editor vs build in VS, but things seem to be working fine at the moment.