Next.js Discord

Discord Forum

run NODE_ENV=development in "start" mode?

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
Spectacled bearOP
I got sidetracked and found out if I do the above, it still reads .env.production.
I test the app in a built mode, but want my development props (db connections etc). Instead of having to have another file, maybe it should obey the ENV?
It's not a huge deal just surprising

0 Replies