Files
stefankoelle 17a2098b9b Replace .eleventyignore manipulation with programmatic ignores
- Root config now excludes stefankoelle/timecapsule via eleventyConfig.ignores
- .eleventyignore stays static (no runtime edits)
- start-dev.sh simplified: no .bak/.tmp dance, no sleep ordering
- All 3 dev servers (8081/8086/8087) run in parallel without crashes
2026-09-11 21:47:45 +02:00

18 lines
491 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
cleanup() { kill $(jobs -p) 2>/dev/null; }
trap cleanup EXIT
echo "==> Starting moonweb dev servers..."
echo " http://localhost:8081 (moonweb sites)"
echo " http://localhost:8086 (stefankoelle.de)"
echo " http://localhost:8087 (timecapsule)"
echo ""
npx @11ty/eleventy --serve --port=8081 &
npx @11ty/eleventy --config=stefankoelle/eleventy.config.js --serve --port=8086 &
cd timecapsule && npx @11ty/eleventy --serve --port=8087 &
wait