generated_overrides/app.php gets completely erased
gets completely erased resulting in the website going down. I'm having a hard time finding when this file gets written to. I even set the permissions of the file to 777.
Can anyone help? To fix this I simply return an empty array and things go back to normal.