hooks up live reload to templates