Skip to content

Instantly share code, notes, and snippets.

@renatomattos2912
Created May 18, 2015 14:57
Show Gist options
  • Save renatomattos2912/b82c2641199743e173b4 to your computer and use it in GitHub Desktop.
Save renatomattos2912/b82c2641199743e173b4 to your computer and use it in GitHub Desktop.
Jekyllrb Generator Grunt Css Corretor
watch: {
jekyll: {
files: [
'<%= yeoman.app %>/**/*.{html,yml,md,mkd,markdown}',
'!<%= yeoman.app %>/_bower_components/**/*'
],
tasks: ['jekyll:server']
},
css: {
files: '<%= yeoman.app %>/css/**/*.css',
tasks: ['copy:stageCss'],
options: {
livereload: true
}
},
livereload: {
options: {
livereload: '<%= connect.options.livereload %>'
},
files: [
'.jekyll/**/*.html',
'.tmp/css/**/*.css',
'{.tmp,<%= yeoman.app %>}/<%= js %>/**/*.js',
'<%= yeoman.app %>/img/**/*.{gif,jpg,jpeg,png,svg,webp}'
]
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment