Open m4rl0ne opened 4 years ago
@m4rl0ne For now when developing with Angular 9 and 10 Ivy disable hmr by adding this flag: --no-hmr
to your run/debug command.
tns run android --no-hmr
We're looking to replace hmr with socket handling so in meantime best to disable hmr.
+1
+1
When I create a new project with the following command:
tns create demoProjectName --ng
and I run
tns run ios
to run it in my emulator it works fine the first time it starts, but as soon as I change something (i.e. the ActionBar title in the sample items component) and webpack is running, the app won't start anymore and crashes with the following message:The only way to get it working again is changing any file (not necessarily the one I was editing before) so that webpack can run a second time. Now it works fine again. I always have to do 2 changes for the app to work.
Versions: (latest versions because I just created it 5 minutes ago via CLI): tns-cli: 6.8.0 tns-ios: 6.5.0 angular/core: 9.1.0 ngtools/webpack: 9.1.0 nativescript-dev-webpack: 1.5.0