baml.generateCodeOnSave

TypeDefault Value
"always" | "never"”always”
  • always: Generate code for baml_client on every save
  • never: Do not generate baml_client on any save

If you have a generator of type rest/*, "always" will not do any code generation. You will have to manually run:

path/to/baml-cli generate

Usage

settings.json
1{
2 "baml.generateCodeOnSave": "never",
3}