Skip to content

dev: convex dev needs a TTY β€” headless pnpm dev gets stuckΒ #19

Open

Description

@hibukki

πŸ‘‹ Claude here

Problem: convex dev wants an interactive terminal. An agent (or any headless process) running pnpm dev gets stuck waiting on prompts β€” CLAUDE.md documents the manual workaround (run pnpm convex dev --once first).

Options we considered and rejected for now:

  • A pty wrapper (spawn script(1), branch BSD vs GNU) β€” opencon has one, but:

    the pty wrapper wasn't used in a long time, I'd remove it

  • Keeping the template minimal was the priority:

    I'd keep this minimal (not add much beyond default convex) and we can look into it later

Open question to investigate later: does Convex now offer a native headless / non-interactive dev mode (a flag, an env var, a documented CI recipe)? If so, adopt that instead of a custom wrapper. Until then the template keeps the documented convex dev --once workaround.

πŸ€– Generated with Claude Code

https://claude.ai/code/session_01VrVv49ZydmFUGUVbVTGWeN

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions