If you add new variables to a class, you will need to restart the game/editor after recompile. If you make smaller changes, for example just changing the body of a function, you can use the Compile button in the editor and do not need to restart. We are currently working to improve programmer iteration time in both cases.