Skip to content

prisma generate --watch --sql (TypedSQL) should tolerate errors on startup #27204

@aleclarson

Description

@aleclarson

If any SQL files have errors, the --watch flag should prevent prisma generate from exiting. Instead, the SQL files with errors should be watched, then the process should try reading them again when changed.

Currently, the process exits, leading to a stilted DX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/1-unconfirmedBug should have enough information for reproduction, but confirmation has not happened yet.kind/bugA reported bug.topic: prisma generateCLI: prisma generatetopic: typedSql

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions