Live rework in progress.
Please report major issues.

Jens Oliver Meiert

How I Run Eleventy (It’s Complicated?)

Published on Apr 18, 2025, filed under (feed). (Share this on Mastodon or Bluesky?)

I love Eleventy. I use Eleventy for a few sites. But how I work with Eleventy may not reflect the most usual development and export setup. Here are the two key lines, for Frontend Dogma:

alias fd="cd ~/Projects/frontenddogma.com/; DEBUG=Eleventy* npx @11ty/eleventy --serve --incremental --output=../exports/local/frontenddogma.com/”

alias fdd=”cd ~/Projects/frontenddogma.com/; rm -rf ../exports/local/frontenddogma.com/; DEBUG=Eleventy* npx @11ty/eleventy –incremental –output=../exports/local/frontenddogma.com/; rsync -av –quiet –delete ../exports/local/frontenddogma.com/ ../exports/frontenddogma.com/”

You will be with me on using aliases, I’m sure. But you may wonder about what else is going on. Let me share my thinking—maybe there’s something here that you like, or you can challenge or correct me, which is something I’d like.

In short, the reasons for and benefits of this setup, to me, are:

The setup works for me. Please let me know your thoughts, especially if you think I’m missing something. Perhaps I’m making things complicated. Cheers!