Skip to content

pgtyped CLI not reporting errors on sqlfiles if not executed with -w watch mode #625

Description

@yevon

Describe the bug
When executing pgtyped -c config.json, it is not reporting any errors on a .sql file that has errors, but when executing the same with the watch flag (-w), it resports errors properly. I didn't find anything in the docs to see if there is a verbose mode or similar.

Expected behavior
When executing pgtyped for generating the types, it should report all errors regardless if watch mode is enabled of not. This is causing issues with AI assisted code generation as it needs to execute the command in watch mode and it doesn't finish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions