I publish this site from whatever backstage desk I can find, so the workflow has to be reliable and fast. If it takes longer than the time between my set ending and the next act loading in, it is too slow.
Command flow
bun install
bun run build
bun run preview
That is the whole thing. Three commands. If I cannot remember them while tired, I have a problem, and I am always tired.
Why Bun helps on the road
- Dependency install is quick enough to run before load-in. I have done it in a parking lot on cellular data and it finished before my coffee cooled down, which is the only benchmark that matters.
- Script execution is simple when battery and time are limited.
- Lockfile behavior stays predictable across my machines, which is important because “my machines” means a laptop that has been in three different climate zones this week.
Tiny TypeScript helper I use in planning notes
export const classifyDrive = (miles: number): "short-hop" | "haul-day" => {
return miles <= 90 ? "short-hop" : "haul-day";
};
This lives in my personal prep repo, but the same discipline applies here: keep tooling small so the clown work stays the focus. The site is a notebook, not a product. It should behave like one.