NativeScript / NativeScript/nativescript-cli

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

未关闭
#4,350 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug
主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先运行 tns info,然后使用 tns create appNG --ngtns run ios --hmr 重现问题。应用打开时修改一个 CSS 文件,关闭应用,然后再次修改 CSS。完成的标准是第二次修改后 iOS 应用能够打开并正常工作,而不是只能报告同步成功。

由索引模型根据 Issue 内容生成。

评估

技术栈
ios, javascript
领域
cli, mobile-dev
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。