Add file watching for templates