Compiling code in the code editor window should not do a full page refresh. It should save and compile the code with an ajax request.