You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(playground): add local playground dev server command and skill
Add `build_sharpy playground` command (with --release and --no-watch flags)
and `/playground` Claude Code skill to run the Blazor WASM playground locally
with hot reload.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1. Run `mkdir -p .claude/tmp` to ensure log directory exists
21
+
2. Clear the old log with `rm -f .claude/tmp/last-playground.log`
22
+
3. Tell the user: "Starting playground at http://localhost:5000 (https://localhost:5001). Press Ctrl+C to stop."
23
+
4. Run: `dotnet watch run --project src/Sharpy.Playground > .claude/tmp/last-playground.log 2>&1`
24
+
-**Important:** This is a long-running process. Run it in the background with `run_in_background: true` so the user can continue working.
25
+
5. After launching, tell the user the playground is running and they can open `http://localhost:5000` in their browser.
26
+
6. If the process fails immediately (exit code non-zero within a few seconds): Print "=== PLAYGROUND FAILED ===" then `tail -50 .claude/tmp/last-playground.log`, then echo "=== Full log: .claude/tmp/last-playground.log ==="
0 commit comments