title: angular cli change default environment when running ng serve
body: <p>When I run ng serve it uses default environment as dev. Is there a way to update angular cli to use a different environment file? </p>
  
  <p><strong>Update</strong></p>
  
  <p>Sorry, Should have been more clear in my question. I know we can use --env switch to specify the environment file to use, but was wondering if there is a way to change the default environment file selection when no env is specified. Currently we have environment.local.ts file, I am trying to update angular cli configuration to use environment.local.ts when no environment is specified. </p>