genkit icon indicating copy to clipboard operation
genkit copied to clipboard

Use NODE_ENV to drive development mode

Open mbleigh opened this issue 1 year ago • 1 comments

we should:

  1. automatically opt into dev mode when NODE_ENV=development
  2. support GENKIT_ENV=development (instead of dev) since that aligns with NODE_ENV

we should keep supporting existing behavior as well, but that will make it more consistent with other node ecosystem tooling

mbleigh avatar Sep 04 '24 00:09 mbleigh

NODE_ENV is an anti pattern.

Uzlopak avatar Oct 04 '24 21:10 Uzlopak