Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nativescript/ng-ns-hmr
https://github.com/nativescript/ng-ns-hmr
angular hot-module-replacement nativescript nativescript-angular webpack
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nativescript/ng-ns-hmr
- Owner: NativeScript
- Created: 2018-09-11T16:15:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-15T11:24:30.000Z (almost 6 years ago)
- Last Synced: 2024-05-23T10:02:04.995Z (8 months ago)
- Topics: angular, hot-module-replacement, nativescript, nativescript-angular, webpack
- Language: JavaScript
- Homepage:
- Size: 2.94 MB
- Stars: 4
- Watchers: 23
- Forks: 1
- Open Issues: 1
-
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:
- NativeScript 5.2 HMR with Angular wiki [page](https://github.com/NativeScript/nativescript-angular/wiki/NativeScript-5.2-HMR-with-Angular)
- 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
```