Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Commit

Permalink
fix serve watch updating handlebar templates
Browse files Browse the repository at this point in the history
When updating a template file the ```handlebars``` task is not being fired by the watcher. This means that livereload refreshes the page however, the template isn't updated.

Changing this task to ```watch``` so that the ```watch:handlebars``` is fired and the templates are updated.
  • Loading branch information
dunckr committed Apr 19, 2014
1 parent ae58e28 commit ab33e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ module.exports = function (grunt) {
'compass:server',<% } %>
'connect:test',
'open:test',
'watch:livereload'
'watch'
]);
}

Expand All @@ -401,7 +401,7 @@ module.exports = function (grunt) {
'compass:server',<% } %>
'connect:livereload',
'open:server',
'watch:livereload'
'watch'
]);
});

Expand Down

0 comments on commit ab33e15

Please sign in to comment.