https://github.com/nativescript/js-ns-hmr
https://github.com/nativescript/js-ns-hmr
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nativescript/js-ns-hmr
- Owner: NativeScript
- Created: 2018-09-05T11:49:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-14T12:38:08.000Z (over 7 years ago)
- Last Synced: 2025-04-02T11:22:07.753Z (about 1 year ago)
- Language: JavaScript
- Size: 2.52 MB
- Stars: 0
- Watchers: 24
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Important!
The HMR feature is still in beta.
The API may change.
For detailed information, please refer to:
- HMR tracking [issue](https://github.com/NativeScript/NativeScript/issues/6398)
- HMR design [document](https://goo.gl/NkYXga)
## Enable HMR
1. Install the NativeScript CLI.
```
npm install -g nativescript
```
2. Install the node dependencies.
```
npm install
```
3. Run with the `hmr` flag:
```
tns run --hmr
```
or, if you don't have local setup, use:
```
tns preview --hmr
```