mirror of
https://github.com/skoelle/moonweb-site.git
synced 2026-09-17 17:00:25 +00:00
Add start-dev.sh: launches all 3 dev servers in parallel
8081 (moonweb), 8086 (stefankoelle), 8087 (timecapsule)
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
|||||||
|
#!/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
|
||||||
Reference in New Issue
Block a user