title: How to stop Laravel from caching ENV file, is there a way?
body: <p>I discovered that I can't change something in the .env file and have Laravel pick it in next run. For example I changed</p>
  
  <pre><code>APP_ENV=production
  </code></pre>
  
  <p>to</p>
  
  <pre><code>APP_ENV=local
  </code></pre>
  
  <p>And upon running</p>
  
  <pre><code>artisan migrate
  </code></pre>
  
  <p>I still get asked if I am sure I want to run migration in production environment. Is there a way to get around this and not have to clear cache every time .env file is updated?</p>