6

It's possible to have a livereload (or browsersync) like system that run with jekyll serve without using other tools like grunt/gulp?

What I'm expecting is to edit a css, sass, html or md file and have the browser page auto reloading.

I'm using Jekyll 2.5.x

lifeisfoo
  • 15,478
  • 6
  • 74
  • 115

1 Answers1

6

As of January 2018, Jekyll 3.7 now has the --livereload flag.

jekyll serve automatically rebuilds the _site folder whenever changes are saved.

--livereload refreshes the browser with those changes.

So, use jekyll serve --livereload.

DC.Azndj
  • 1,346
  • 12
  • 13