conradkohC
Convex Community2y ago
6 replies
conradkoh

Request for a command like convex dev --local

Has a feature been considered for dev mode, where the open source binary is automatically published to an npm package so that it is available for a simple
1. Addition of a package to package.json
2. Run a single command within a project to connect to a local DB (e.g. convex-local start)

I encountered a scenario today where I think this might be useful. I was checking out an old branch on another computer that I was doing development on that had some changes I forgot about. However, I couldn't test out the changes in the branch because the shared dev environment already had documents that couldn't be rolled back.

The result is that I couldn't start the app in that branch. I imagine this will be an increasing issue as more developers are added to projects. It seems worthwhile to provide an easy isolated dev mode for checking out old versions of the code, or preventing conflicts between developers modifying the same dev state.
Was this page helpful?