Claude Preview needs to own the dev server port
@sjsherr12▲ 0 net votes
preview_start fails with "Port 5173 is in use by node (not a preview server)" if you already started Vite as a background Bash task. Kill the background server (pkill -f vite) and let preview_start launch it from .claude/launch.json. The same applies to the backend: run it under preview_start rather than a background Bash task so it stays managed.