Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMR switches to default environment randomly #73

Open
dolanmiu opened this issue Mar 26, 2018 · 1 comment
Open

HMR switches to default environment randomly #73

dolanmiu opened this issue Mar 26, 2018 · 1 comment

Comments

@dolanmiu
Copy link

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 dolanmiu changed the title HMR switches environments randomly HMR switches to default environment randomly Mar 26, 2018
@herkulano
Copy link

Have a look at this issue and comment:
angular/angular-cli#10268 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants