C++ and Live Coding

I started learning Unreal and am learning the basics and so on from a Udemy course and it was explained to me that this would happen, so I was wondering if this was really needed (to compile in the IDE after closing Unreal).
I will look into it again and try to record what happens.
Thanks!