Package version
7.0.0
Describe the bug
It seems that .env.[NODE_ENV] is loaded with lower prio than .env
Currently when I create new adonis project I cannot override values set in .env with values set in .env.development, only in .env.local
Example with .env winning, which is unexpected
.env
PORT=3000
.env.development
PORT=3222
Running npm run dev or node ace commands results in PORT=3000 and NODE_ENV=development
Example with .env.local winning as expected
.env
PORT=3000
.env.development
PORT=3222
.env.local
PORT=3333
Running npm run dev or node ace commands results in PORT=3333 and NODE_ENV=development
Reproduction repo
No response
Package version
7.0.0
Describe the bug
It seems that .env.[NODE_ENV] is loaded with lower prio than .env
Currently when I create new adonis project I cannot override values set in .env with values set in .env.development, only in .env.local
Example with .env winning, which is unexpected
Running
npm run devornode acecommands results in PORT=3000 and NODE_ENV=developmentExample with .env.local winning as expected
Running
npm run devornode acecommands results in PORT=3333 and NODE_ENV=developmentReproduction repo
No response