NativeScript / NativeScript/nativescript-cli

when app is closed and make a change, it doesn't open

Open
#4,350 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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: rc(5.2.0-2019-02-07-12917)
  • iOS Runtime:5.1.1

Describe the bug
App is successfully synced but it not loaded

To Reproduce

  1. tns create appNG --ng
  2. tns run ios --hmr
  3. make a change in css file. The change will apply correctly.
  4. close the app from device as press home button.
  5. make a change again in css file you will see that the app doesn't open but console logs are:
    Refreshing application on device f42eb590ec7ad920c8c0545a308e1a1d2551218b... Successfully synced application org.nativescript.appNG on device f42eb590ec7ad920c8c0545a308e1a1d2551218b.

Expected behavior
the app must open and work correct

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running tns info, then reproduce the issue with tns create appNG --ng and tns run ios --hmr. Change a CSS file while the app is open, close the app, and change the CSS again. Done means the iOS app opens and works after the second change instead of only reporting a successful sync.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
cli, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.