make refresh works on real template file changes