Created
April 7, 2013 20:01
-
-
Save Wolfr/5332250 to your computer and use it in GitHub Desktop.
Gruntfile.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@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.