Speed up Jekyll serve

Written by Michael Lee 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, side projects and working remotely. Sign up and I'll send you my articles straight to your email.

:wave: Hey hey, I'm Michael Lee! I really appreciate you taking the time to read this article.

Be sure to check out my other articles.

Previous post: What's the purpose?