dannygarcia / gulp-jekyll

Compile Jekyll sites with Gulp.
MIT License
47 stars 5 forks source link

pass file through #7

Closed boneskull closed 9 years ago

boneskull commented 9 years ago

I wanted to make this work with gulp-livereload, but since the callback is passed null, it was failing.

Since it doesn't really matter what we give this plugin, you can do something like this now:

gulp.src('_site/index.html')
  .pipe(jekyll())
  .pipe(connect.livereload());

...which tells the livereload server of gulp-connect that _site/index.html was updated.