watch for templates changes