NativeScript / NativeScript/nativescript-cli
No logs after application restart
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 5.1.0
- Cross-platform modules: 5.1.0
- Android Runtime: 5.1.0
- iOS Runtime: 5.1.0
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 the tns process is running
Expected behavior
The CLI outputs application logs (e.g. console.log, HMR logs).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with tns run <platform> --hmr, then close and reopen the application while the tns process remains active. Trace the CLI's application-log handling across the restart and verify that console.log and HMR logs continue appearing afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100