Skip to content

Commit

Permalink
Watch yml files and run convert and assemble when they change
Browse files Browse the repository at this point in the history
  • Loading branch information
thegreatsunra committed Mar 11, 2014
1 parent 6456b85 commit 3660523
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gruntfile.js
Expand Up @@ -63,6 +63,10 @@ module.exports = function (grunt) {
files: ['<%= config.src %>/assemble/{helpers,layouts,partials}/{,*/}*.{hbs,yml,json,js}'],
tasks: ['newer:assemble']
},
yml: {
files: ['<%= config.src %>/assemble/data/*.yml'],
tasks: ['newer:convert', 'newer:assemble']
},
data: {
files: ['<%= config.src %>/<%= config.dataFolder %>/{,*/}*.csv'],
tasks: ['newer:convert', 'newer:assemble', 'newer:copy:dist']
Expand Down

0 comments on commit 3660523

Please sign in to comment.