Adds live reloading of templates and generation of templates into
templateCache as JS files for testing.