angular-hmr
angular-hmr copied to clipboard
HMR switches to default environment randomly
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?
Have a look at this issue and comment: https://github.com/angular/angular-cli/issues/10268#issuecomment-390297861