Skip to content

Conversation

@ianmacartney
Copy link
Collaborator

by doing --skip-push, the user will select a deployment before running multiple things at once (gets past the interactive part), but we won't duplicate the push every time they start it up.

I'm on the fence about whether opening the dashboard automatically is annoying - but they can change that pretty easily.

This makes the component template easier & takes out the path-exists requirement


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

"dev:backend": "convex dev --typecheck-components",
"dev:frontend": "cd example && vite --clearScreen false",
"dev:build": "chokidar 'tsconfig*.json' 'src/**/*.ts' -i '**/*.test.ts' -c 'npx convex codegen --component-dir ./src/component && npm run build' --initial",
"predev": "path-exists .env.local || (npm run build && convex dev --until-success)",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we might want to keep this to ensure the build happens once. unfortunately there can still be races where a deploy starts before dist/ files exist, so the file watcher misses their addition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants