Fix dev servers: add excludes to root config, simplify start-dev.sh

This commit is contained in:
2026-09-11 21:10:00 +02:00
parent a26fe237b3
commit d18fba6f4d
2 changed files with 2 additions and 6 deletions
+1
View File
@@ -88,6 +88,7 @@ module.exports = function (eleventyConfig) {
input: ".",
includes: "shared/_includes",
output: "dist/moonweb",
excludes: ["stefankoelle", "timecapsule"],
},
serverOptions: {
host: "0.0.0.0",
+1 -6
View File
@@ -1,10 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
cleanup() {
kill $(jobs -p) 2>/dev/null
[ -f .eleventyignore.bak ] && mv .eleventyignore.bak .eleventyignore 2>/dev/null
}
cleanup() { kill $(jobs -p) 2>/dev/null; }
trap cleanup EXIT
echo "==> Starting moonweb dev servers..."
@@ -13,8 +10,6 @@ echo " http://localhost:8086 (stefankoelle.de)"
echo " http://localhost:8087 (timecapsule)"
echo ""
mv .eleventyignore .eleventyignore.bak
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 &