Open vchimev opened 5 years ago
I've found that using console.log seems fine when using the ios simulator however on an actual device it will work about 1 in 10 times if I'm lucky. It makes debugging pretty much impossible / extremely frustrating.
Also on the odd occasion when console.log does work it doesn't last i.e it will start showing logs and then just stop.
Hey @dottodot , the current issue is for the case when you restart your application manually. Is this your case? In case not, can you please open a new issue with as much details as possible for your environment and the problem you've faced. Thanks in advance.
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
The CLI does not output application logs (e.g.
console.log
, HMR logs) after application restart.To Reproduce
tns run <platform> --hmr
restart (close/open) the application while thetns
process is runningExpected behavior
The CLI outputs application logs (e.g.
console.log
, HMR logs).