ballingt
ballingt3w ago

Convex alpha including local dev deployments

For anyone with time and interest in giving some feedback on some upcoming features, here's a new convex alpha npm i convex@1.18.3-alpha.3 that includes local development deployments. I'd love to hear how this works for you, but don't install this alpha if it's not a good time for you to use something not quite stable to give feedback. These features will come to a stable release soon. In particular, we're aware of issues with running local deployments on Windows without the Microsoft Visual C++ Redistributable installed.
1 Reply
ballingt
ballingtOP3w ago
Local deployments run your Convex dev deployment for your project on your local machine, which should make syncing your code faster. They also makes resources used during development like function calls and database bandwidth free, since it's your own compute resources you're using! Running code on other computers is generally messier than running it on your own servers. Some of here worked on the Dropbox desktop client for years and this was a constant source of edge cases. So local deployments may take some time to get working for everyone, in every possible development configuration. This makes it useful to start the process with an alpha release. If you're feeling curious, give it a shot! You'll have the option to use a local deployment when creating a new project, or you can start using a local dev deployment for an existing project by running npx convex dev --local once. You can go back to the normal cloud dev experience by running npx convex disable-local-deployments.

Did you find this page helpful?