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

Bindings not updating automatically #44

Closed
fredlebel opened this issue Jul 13, 2017 · 4 comments
Closed

Bindings not updating automatically #44

fredlebel opened this issue Jul 13, 2017 · 4 comments

Comments

@fredlebel
Copy link

After some research I had to change the imports of zone.js to zone.js/dist/zone-mix in src/app/app.module.ts and src/polyfills.ts.

See: angular/zone.js#537

@maximegris
Copy link
Owner

maximegris commented Jul 14, 2017

Weird...
Is src/polyfills.ts a new file you add in your project or do you mean add import 'polyfills' in app.module.ts ?

Btw when I change the imports of zone.js to zone.js/dist/zone-mix in src/app/app.module.ts, I got the error Zone already loaded.

@fredlebel
Copy link
Author

src/polyfills.ts is in this repo.

The change I made was:

-import 'zone.js/dist/zone';  // Included with Angular CLI.
+import 'zone.js/dist/zone-mix';  // Included with Angular CLI.

and in src/app/app.module.ts

-import 'zone.js';
+import 'zone.js/dist/zone-mix';  // Included with Angular CLI.

You need to change both to not get the error Zone already loaded.

@saurabhabh
Copy link

saurabhabh commented Mar 27, 2019

Was working with the latest version of the repo (Angular 7), found that the zone-mix is reverted back to zone in polyfills.ts. I was facing the same binding issue which is mentioned here. I changed the zone to zone-mix and now it works. Was this change done on purpose ?? Or did I miss some thing ?

@PunkHaz4rd
Copy link

Why was this closed ? It's still not working.

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

4 participants