[object Object]

← back to Claude Webdev Accelerator

preview-tunnel: repoint from dead dw-followup (0e1edf5a) to dw-followup2 (87ddae1e); pm2 reload not launchd kickstart

2476d9a5b16aa9c0a7b48ed00b5f808540f08639 · 2026-08-25 12:05:01 -0700 · steve@designerwallcoverings.com

Files touched

Diff

commit 2476d9a5b16aa9c0a7b48ed00b5f808540f08639
Author: steve@designerwallcoverings.com <steve@designerwallcoverings.com>
Date:   Tue Aug 25 12:05:01 2026 -0700

    preview-tunnel: repoint from dead dw-followup (0e1edf5a) to dw-followup2 (87ddae1e); pm2 reload not launchd kickstart
---
 scripts/preview-tunnel.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/preview-tunnel.sh b/scripts/preview-tunnel.sh
index e090612..f7da1cf 100755
--- a/scripts/preview-tunnel.sh
+++ b/scripts/preview-tunnel.sh
@@ -9,8 +9,8 @@ SLUG="${1:?usage: preview-tunnel.sh <slug> <port> [--dns]}"
 PORT="${2:?need a local port}"
 DO_DNS=""; [ "${3:-}" = "--dns" ] && DO_DNS=1
 HOST="${SLUG}.agentabrams.com"
-CFG="$HOME/.cloudflared/followup.yml"
-TUNNEL_ID="0e1edf5a-f5b4-48c9-af62-639645519983"          # dw-followup
+CFG="$HOME/.cloudflared/followup2.yml"
+TUNNEL_ID="87ddae1e-4c63-49b2-b04c-3887596f9785"          # dw-followup2 (Mac2-only; replaced split dw-followup 0e1edf5a 2026-08-25)
 ZONE_NAME="agentabrams.com"
 
 [ -f "$CFG" ] || { echo "no tunnel config at $CFG"; exit 1; }
@@ -27,8 +27,8 @@ else
   echo "added ingress ${HOST} -> 127.0.0.1:${PORT}"
 fi
 
-# 2. Restart the tunnel to pick up the new ingress.
-launchctl kickstart -k "gui/$(id -u)/com.steve.followup-tunnel" 2>/dev/null && echo "tunnel restarted" || echo "WARN: could not kickstart tunnel (start it manually)"
+# 2. Restart the tunnel (pm2-managed) to pick up the new ingress.
+pm2 restart followup2-tunnel >/dev/null 2>&1 && echo "tunnel reloaded (followup2-tunnel)" || echo "WARN: could not restart followup2-tunnel (pm2 restart followup2-tunnel)"
 
 # 3. DNS (gated). Repoint/point the CF record to a proxied CNAME on the tunnel.
 if [ -n "$DO_DNS" ]; then

← 0f1dbb8 chore: session-close hardening — atomic writeProcessed, (no  ·  back to Claude Webdev Accelerator  ·  (newest)