Check Shiny App Status
Check if a Shiny app started by /rshiny-run is still running and healthy.
Steps
- •
Read port from
~/.claude/rshiny-state/port.txt. If file doesn't exist: report "No app tracked." - •
Check
lsof -ti:<PORT>for a running process. - •
If no process found: report "Not running (port <PORT> from last run)."
- •
If process found, check health:
bashcurl -s -o /dev/null -w "%{http_code}" http://localhost:<PORT>- •200: "Running and healthy on port <PORT>"
- •Other: "Process on port <PORT> but not responding (HTTP <code>)"