Closed oosawy closed 5 months ago
nodemon -v
Runtime environment variables expected to override the env defined in config.
env
Envs defined in config.env are always be set. Seeing dotenv etc. this is not the expected behavior.
config.env
{ "env": { "APP_ENV": "development" } }
index.js
console.log(process.env.APP_ENV)
APP_ENV=local npx nodemon index.js
development
If applicable, please append the --dump flag on your command and include the output here ensuring to remove any sensitive/personal details or tokens.
--dump
:tada: This issue has been resolved in version 3.1.4 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
nodemon -v
: 3.1.3Expected behaviour
Runtime environment variables expected to override the
env
defined in config.Actual behaviour
Envs defined in
config.env
are always be set. Seeing dotenv etc. this is not the expected behavior.Steps to reproduce
index.js
If applicable, please append the
--dump
flag on your command and include the output here ensuring to remove any sensitive/personal details or tokens.