You have to compile it outside the engine. Close the engine, compile on visual studio, rider or how ever you want and then will be compiled. If you compile in engine you are just doing a hot reload, which is temporal and will be discharged when u close the engine