Skip to content

Instantly share code, notes, and snippets.

@sondr3
Created August 29, 2015 18:30
Show Gist options
  • Save sondr3/0e9bdca023a9eea0effd to your computer and use it in GitHub Desktop.
Save sondr3/0e9bdca023a9eea0effd to your computer and use it in GitHub Desktop.
Gulpfile
// Default task, run when just writing 'gulp' in the terminal
gulp.task('default', gulp.series(
gulp.series('jekyll:dev'),
gulp.parallel('styles', 'javascript', 'fonts', 'images'),
gulp.series('inject:head:dev', 'inject:footer:dev'),
gulp.series('serve')
));
gulp.task('build', gulp.series(
gulp.series('jekyll:prod'),
gulp.parallel('styles', 'javascript', 'fonts', 'images'),
gulp.series('inject:head', 'inject:footer')
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment