Launching dev, but it connects to production
npx convex dev it's been working with the dev deployment as it should. Today I fixed some things with the production deployment (Vercel), then opened the dev version to keep working on it and noticed that the app was showing the production data. Rebooted VS Code. No change.
Rebooted my computer. No change.
The only thing I could find that felt odd was the state of the
CONVEX_DEPLOYMENT and CONVEX_URL variables in .env.local. I thought that those were supposed to point to the dev deployment values, so I manually changed them. However, running npx convex dev just changed them back, and I'm back to square one.I'm stumped. Any ideas?
