angular-hmr icon indicating copy to clipboard operation
angular-hmr copied to clipboard

HMR switches to default environment randomly

Open dolanmiu opened this issue 6 years ago • 1 comments

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?

dolanmiu avatar Mar 26 '18 15:03 dolanmiu

Have a look at this issue and comment: https://github.com/angular/angular-cli/issues/10268#issuecomment-390297861

herkulano avatar May 19 '18 05:05 herkulano