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.

Stay in touch

Thanks for reading this article. I'd love to stay in touch and share more tips on programming and side projects with you. Sign up and I'll send you my articles straight to your email, you'll also get a free copy of the light themed version of my Git cheat sheet.
Git cheat sheet preview image