NativeScript / NativeScript/nativescript-cli

Feature: HMR & Ability to reload app

Open
#4,018 0 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature livesync webpack
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

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

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

The issue names no files or tests; start by tracing the NativeScript CLI's HMR/LiveSync entry points and input handling, then read related issue #6398. Confirm the expected platform scope and restart behavior. Done means an app restart can be triggered with R while HMR/LiveSync is active.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, mobile-dev
Issue type
Feature
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.