Whenever I make a change to the project with hmr enabled, the environment sometimes switches back to the default `environment.ts` For example, I will be on `environment.prod.ts`, then after a few changes, I will be on `environment.ts` for some reason. Anyone have an answer or fix to this?
Activity
[-]HMR switches environments randomly[/-][+]HMR switches to default environment randomly[/+]herkulano commentedon May 19, 2018
Have a look at this issue and comment:
angular/angular-cli#10268 (comment)