Livesync with console.log
From @prijindal on November 1, 2015 18:26
Currently you can't log anything with livesync Any plans on upgrading livesync to show log output?
Copied from original issue: NativeScript/NativeScript#1009
From @x4080 on November 2, 2015 2:18
+1
From @manijak on November 2, 2015 9:58
+1
One way of solving it would be to make it easier for the developer to start view the log files, as described in this issue https://github.com/NativeScript/NativeScript/issues/1009#issuecomment-152999397
This is an extreme must. Right now it is soo slow to iterate. Also, I'm not even sure if livesync even works properly on iOS. The livesync starts, but the daemon seems to just stop running after the first sync?
I found that livesync ios don't update changed .ios the Android side works though
@x4080,
I tried what you reported with the latest {N} CLI 1.5 Release Candidate and experienced only this issue: https://github.com/NativeScript/nativescript-cli/issues/1234.
Please, give a try to {N} 1.5 when released and let us know if you still experience such problem by opening a separate issue.
There is an issue using console.log during LiveSync that on Android after making a change to a .js file (respectively the app restarts) than the console.log messages duplicate. /CC: @Fatme
Sum up:
consoloe.log()will be supported with LiveSync in {N} CLI 1.5.0 for Android device/emulator and iOS deviceconsoloe.log()support with LiveSync for iOS simulators implementation could be followed here: https://github.com/NativeScript/nativescript-cli/issues/1262- the issue described above for duplicate
console.logmessages during LiveSync on Android will be resolved in {N} CLI 1.5.1