hot swapping for templates and java files