Last active
August 29, 2015 14:08
-
-
Save nerdpruitt/e023dff48cd81a52db11 to your computer and use it in GitHub Desktop.
Start Jekyll from Gulp using vanilla Node
This file contains hidden or 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
gulp.task('jekyll', function(){ | |
return require('child_process').spawn('jekyll', ['serve', '--watch'], { stdio: 'inherit' }); | |
}); | |
gulp.task('default', ['jekyll']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pulled pretty much from here : http://stackoverflow.com/questions/21293999/use-jekyll-with-gulp