V4 not loading env files like before

Hello.

Can someone please explain why v4 is not loading my .env files as before? It is now always loading .env file regardless of the stage.
I have a .env.dev file that should be loading instead of the plain .env when the deployment stage is dev. It is resulting in the wrong vars being deployed.

Thanks.

The advice usually comes from putting your files on a web server like Apache or IIS and accidentally allowing .env files to be downloaded by typing their name explicitly. https://tutuapp.uno/ , https://9apps.ooo/