{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/sample-Groceries/issues/82","repository_url":"https://api.github.com/repos/NativeScript/sample-Groceries","labels_url":"https://api.github.com/repos/NativeScript/sample-Groceries/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/sample-Groceries/issues/82/comments","events_url":"https://api.github.com/repos/NativeScript/sample-Groceries/issues/82/events","html_url":"https://github.com/NativeScript/sample-Groceries/issues/82","id":156064742,"number":82,"title":"Livesync not working with TypeScript and iOS emulator","user":{"login":"abinici","id":4557771,"avatar_url":"https://avatars.githubusercontent.com/u/4557771?v=3","gravatar_id":"","url":"https://api.github.com/users/abinici","html_url":"https://github.com/abinici","followers_url":"https://api.github.com/users/abinici/followers","following_url":"https://api.github.com/users/abinici/following{/other_user}","gists_url":"https://api.github.com/users/abinici/gists{/gist_id}","starred_url":"https://api.github.com/users/abinici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abinici/subscriptions","organizations_url":"https://api.github.com/users/abinici/orgs","repos_url":"https://api.github.com/users/abinici/repos","events_url":"https://api.github.com/users/abinici/events{/privacy}","received_events_url":"https://api.github.com/users/abinici/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-05-20T22:49:29Z","updated_at":"2016-12-31T00:27:50Z","closed_at":"2016-05-25T12:26:35Z","body":"While following the Groceries-tutorial I've experienced a problem with livesync and watch. Whenever I make a change in a typescript-file the file-change is detected, compiled and then the app is synched back to the emulator-device. But the app will not reload in the emulator. I have to manually restart the app to the see the changes. The reloading works fine on Android, but not on iOS.\n\nI have also tried creating a clean project based on the template tns-template-hello-world-ng. Using  livesync with this project works perfectly on iOS.\n\ntns-cli: 2.0.1\ntns-core-modules: 2.0.1\ntsc: 1.8.10\nxcode: 7.3.1\n\nHere is the full log from my terminal:\n\n```\ntns livesync ios --emulator --watch\nExecuting before-prepare hook from /projects/nativescript/groceries/hooks/before-prepare/nativescript-dev-typescript.js\nFound peer TypeScript 1.8.10\nProject successfully prepared\nExecuting before-livesync hook from /projects/nativescript/groceries/hooks/before-livesync/nativescript-angular-sync .js\nTransferring project files...\nSuccessfully transferred all project files.\nApplying changes...\nSuccessfully synced application org.nativescript.groceries on device 5906C111-9503-4683-9E72-A9A416077589.\nExecuting before-watch hook from /projects/nativescript/groceries/hooks/before-watch/nativescript-dev-typescript.js\nFound peer TypeScript 1.8.10\nMay 21 00:40:27 Macbook-Pro groceries2[37764]: assertion failed: 15E65 13E230: libxpc.dylib + 71506 [6F98A9DA-B46E-3A2B-88D4-92F1EC77477F]: 0x7d\nMay 21 00:40:27 Macbook-Pro groceries2[37764]: CONSOLE LOG file:///app/tns_modules/nativescript-angular/application.js:90:32: Page loaded\nMay 21 00:40:27 Macbook-Pro groceries2[37764]: CONSOLE LOG file:///app/tns_modules/nativescript-angular/application.js:92:32: BOOTSTRAPPING...\nMay 21 00:40:27 Macbook-Pro groceries2[37764]: CONSOLE LOG file:///app/tns_modules/nativescript-angular/dom_adapter.js:54:20: Setting DOM\nMay 21 00:40:27 --- last message repeated 1 time ---\nMay 21 00:40:27 Macbook-Pro groceries2[37764]: CONSOLE LOG file:///app/tns_modules/@angular/core/src/facade/lang.js:370:16: Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.\nMay 21 00:40:27 Macbook-Pro groceries2[37764]: CONSOLE LOG file:///app/tns_modules/nativescript-angular/application.js:95:36: ANGULAR BOOTSTRAP DONE.\n12:40:28 AM - Compilation complete. Watching for file changes.\n\n12:40:49 AM - File change detected. Starting incremental compilation...\n\n12:40:50 AM - Compilation complete. Watching for file changes.\n\nExecuting before-prepare hook from /projects/nativescript/groceries/hooks/before-prepare/nativescript-dev-typescript.js\nProject successfully prepared\nTransferring project files...\nSuccessfully transferred all project files.\nApplying changes...\nSuccessfully synced application org.nativescript.groceries on device 5906C111-9503-4683-9E72-A9A416077589.\n```\n"},"comment":{"url":"https://api.github.com/repos/NativeScript/sample-Groceries/issues/comments/269838902","html_url":"https://github.com/NativeScript/sample-Groceries/issues/82#issuecomment-269838902","issue_url":"https://api.github.com/repos/NativeScript/sample-Groceries/issues/82","id":269838902,"user":{"login":"mpadronais","id":23064853,"avatar_url":"https://avatars.githubusercontent.com/u/23064853?v=3","gravatar_id":"","url":"https://api.github.com/users/mpadronais","html_url":"https://github.com/mpadronais","followers_url":"https://api.github.com/users/mpadronais/followers","following_url":"https://api.github.com/users/mpadronais/following{/other_user}","gists_url":"https://api.github.com/users/mpadronais/gists{/gist_id}","starred_url":"https://api.github.com/users/mpadronais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpadronais/subscriptions","organizations_url":"https://api.github.com/users/mpadronais/orgs","repos_url":"https://api.github.com/users/mpadronais/repos","events_url":"https://api.github.com/users/mpadronais/events{/privacy}","received_events_url":"https://api.github.com/users/mpadronais/received_events","type":"User","site_admin":false},"created_at":"2016-12-31T00:27:50Z","updated_at":"2016-12-31T00:27:50Z","body":"\r\nGood afternoon and tried to run on my android device physical an app with nativescrip 2.0 with angular2 doing tns create App --ng which I believe then I add the platform android with tns platform add android and when I run tns livesync android --watch me out A compilation error: TypeScript compiler failed with exit code null, I use linus debian 8, someone could help me\r\n\r\nNOTE: when I create without angular2 (--ng), the app runs prefectly on my device"}}
{"actor":{"display_login":"mpadronais"}}