How I Run Eleventy (It’s Complicated?)

Published on April 18, 2025, filed under (RSS feed for all categories).

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!

Was this useful or interesting? Share this post (e.g., on Mastodon or on Bluesky), and support my work by learning with my ebooks!

About Me

Jens Oliver Meiert, on November 9, 2024.

I’m Jens (long: Jens Oliver Meiert), and I’m a web developer, manager, and author. I’ve worked as a technical lead and engineering manager for small and large enterprises, I’m an occasional contributor to web standards (like HTML, CSS, WCAG), and I write and review books for O’Reilly and Frontend Dogma.

I love trying things, not only in web development and engineering management, but also in other areas like philosophy. Here on meiert.com I share some of my experiences and views. (I value you being critical, interpreting charitably, and giving feedback.)