Jekyll autoreload browser page
Asked Answered
Z

1

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

Zima answered 3/9, 2015 at 10:24 Comment(2)
Does this help? #8396026Sybaris
doesn't @DC.Azndj not answer your question?, although 3 years later!Bollix
M
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.

Malissa answered 14/6, 2018 at 22:0 Comment(3)
Thank You very much! This is exactly what I was looking for!Bollix
Saved me a ton of time. Thank you.Tourmaline
No need for a VS Plugin.Piaffe

© 2022 - 2024 — McMap. All rights reserved.