#!/usr/bin/env bash # Sync WESP UI: optional external hub refresh, then materialize public/static. # External source: WESP_STATIC or ../wesp/static (when present). # Fallback: git-tracked apps/web/public/wesp (works after clone without WESP repo). set -euo pipefail ROOT="$(cd "$(dirname "$0")/.." && pwd)" exec bash "$ROOT/scripts/materialize-wesp-static.sh"