Why do I have to restart editor after build?

I generally compile it in Visual Studio, should I compile it in Editor?