NativeScript / NativeScript/nativescript-cli

Feature: HMR & Ability to reload app

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

还没有人认领这个 Issue。

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

描述

Is your feature request related to a problem? Please describe.
It would be nice that in some instances I want to actually Restart the app while in HMR/LiveSync mode it could be easily triggered.

Describe the solution you'd like
In my NS-LiveEdit plugin, I watched the keyboard for certain keys; "R" would force a restart of the app.

Related to:
https://github.com/NativeScript/NativeScript/issues/6398

贡献指南

打开贡献指南

从这里开始

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

调研方向

该 issue 未指定文件或测试;先追踪 NativeScript CLI 的 HMR/LiveSync 入口点和输入处理,然后阅读相关 issue #6398。确认预期的平台范围和重启行为。当 HMR/LiveSync 处于活动状态时,可以通过 R 触发应用重启,即视为完成。

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

评估

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

把新 issue 发到你的邮箱

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