- create a master-detail application and update its dependencies/configs:
tns create my-master-detail-ng --template https://github.com/NativeScript/template-master-detail-ng
- add the HMR snippet: https://github.com/NativeScript/nativescript-dev-webpack/blob/master/demo/AngularApp/app/main.ts
- run the application:
tns run platform --hmr
- change
car-list.component.html
: ActionBar's text
- change accepted, app bootstraped, change applied
- navigate to a detail
- change
app.platform.scss
: Label's color
- change accepted, no reload/restart, change applied
- navigate back to list
- change applied to the list
- change
app.component.ts
: console.log()
- change accepted, app bootstraped, change applied
- stop/star the app
- lazy and eager modules changes applied, application styles - not
- change
main.ts
: console.log()
- change not accepted,
bundle.js
transferred, app restarted