Picture of Michael Lee
:wave: Hey hey, I'm Michael Lee and this is my site about being a developer, being a dad and making side projects.

Speed up Jekyll serve

Written on May 22, 2017

At the time of this article, I have written over 250 articles in my Jekyll project. Which means, running jekyll serve can take a very long time. When you’re trying to make small incremental changes and hoping to quickly see the results in the browser, the process can become a bit frustrating.

One way to speed up the jekyll serve process is to just have Jekyll build with the latest post. Since in most scenarios, I’m just proof-reading my latest article, this is ideal.

To render the latest post you’ll want to pass along the --limit_posts option with a value of 1. So the entire command looks like jekyll serve --limit_posts 1.

Thanks for taking the time to read this article. I'd love to stay in touch and share more tips on programming and design and side projects. Sign up and I'll send you my articles straight to your email.
Previous post: What's the purpose?