The HMR feature is still in beta. The API may change.
For detailed information, please refer to:
- Install the NativeScript CLI.
npm install -g nativescript
- Install the node dependencies.
npm install
- Run with the
hmr
flag:
tns run --hmr
or, if you don't have local setup, use:
tns preview --hmr