pgtyped icon indicating copy to clipboard operation
pgtyped copied to clipboard

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

Open yevon opened this issue 3 months ago • 1 comments

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.

yevon avatar Sep 28 '25 20:09 yevon

Any news on this one? quite relevant when working with AI agents and pgtyped

yevon avatar Nov 30 '25 22:11 yevon