You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
I use Angular 2 in Electron and created this little sample app, with version 1.0.0-beta.19-3 of the Angular-CLI. In this case the change detection of data, which are altered through Node core functions (fs.readdir) work absolutely fine, when using the zone-node polyfill.
When I tried to build the same app with version 1.0.0-beta.20-4 of the CLI the change detection did not work at all.
I also built the app for Electron and included the zone-node polyfill, but in contrast to the first time I wrote the app, the data got not updated in the UI, when they were altered (i.e. when changing the directory in the file explorer).
Both versions use Angular 2.1.
There is a small difference in the behaviour when using the plain zone polyfill:
When using zone-node, the data get displayed the first time after loading the view (they get fetched the first time in the OnViewInit Lifecycle event). When using zone, they don't.
I have absolutely no idea, what could cause the problem, so I don't know, which information could be necessary. Please ask for additional information, if you have any idea!