NativeScript / NativeScript/nativescript-cli

livesync doesn't work in ReactNativescript app

未关闭
#5,110 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: 6.2.0

Describe the bug
Livesync doesn't work in ReactNativeScript app

To Reproduce

  1. open https://play.nativescript.org and create ReactNativeScript app
  2. download it and run with tns preview
  3. make some changes in AppContainer.tsx file and you will see that nothing happens

Expected behavior
Livesync should work

贡献指南

打开贡献指南

从这里开始

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

调研方向

通过在 https://play.nativescript.org 创建 ReactNativeScript 应用,下载该应用,并使用 tns preview 运行它来复现此问题。修改 AppContainer.tsx,并观察 livesync 是否应用了该更改。当该文件中的编辑内容无需重启应用即可反映到正在运行的应用中时,即表示完成。

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

评估

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

把新 issue 发到你的邮箱

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