Skip to content

Instantly share code, notes, and snippets.

@Wolfr Wolfr/gist:5332250
Created Apr 7, 2013

Embed
What would you like to do?
Gruntfile.js
// Sample grunt-jekyll grunt.js file
// https://github.com/dannygarcia/grunt-jekyll
/*global module:false*/
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jekyll: {
server : {
src : 'templates',
dest: 'dev',
server : true,
server_port : 8000,
auto : true
},
dev: {
src: 'templates',
dest: 'dev'
},
prod: {
src: 'templates',
dest: 'prod'
}
},
server
watch: { // for development run 'grunt watch'
jekyll: {
files: ['templates/*.html'],
tasks: ['jekyll:dev']
}
}
watch: { // for development run 'grunt watch'
jekyll: {
files: ['templates/*.html'],
tasks: ['jekyll:dev']
}
}
});
// Default task. Run standard jekyll server.
grunt.registerTask('default', ['server', 'watch']);
// plugin tasks
grunt.loadNpmTasks('grunt-jekyll');
grunt.loadNpmTasks('grunt-contrib-watch');
};
@nickcotton

This comment has been minimized.

Copy link

commented Jun 3, 2013

@Wolfr I imagine this is too late to help but I'll say it for the sake of other people. Try killing lines 28-34 in your example, looks like they're what's causing that error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.