Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
- [grunt] changes in data will now kick-off re-rendering of all layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmorDarks committed Apr 6, 2015
1 parent d47d17e commit ca06b11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module.exports = (grunt) ->
path:
source:
root: 'source'
data: '<%= path.source.root %>/data'
fonts: '<%= path.source.root %>/fonts'
icons: '<%= path.source.root %>/icons'
images: '<%= path.source.root %>/images'
Expand Down
3 changes: 3 additions & 0 deletions tasks/grunt-contrib-watch.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ module.exports = ->
nunjucksPartials:
files: ['<%= path.source.layouts %>{,**/}_*.nj']
tasks: ['nunjucks']
data:
files: ['<%= path.source.data %>{,**/}*.{json,yml}']
tasks: ['nunjucks']
images:
files: ['<%= path.source.images %>/{,**/}*.{jpg,jpeg,gif,png}']
tasks: ['newer:responsive_images:thumbnails']

0 comments on commit ca06b11

Please sign in to comment.