NativeScript / nativescript-dev-webpack

A package to help with webpacking NativeScript apps.
Apache License 2.0
97 stars 49 forks source link

errors on livesync of angular master detail project with --env.aot #1022

Open endarova opened 5 years ago

endarova commented 5 years ago

Describe the bug When syncing changes in angular project with env.aot the changes are applied but there are errors in the log.

To Reproduce

  1. tns create MyApp --template tns-template-master-detail-ng
  2. tns run android --env.aot
  3. Make changes and livesync a couple of times. After the first sync you start to see errors like that on every change: ERROR in src/app/cars/shared/car.service.ts(1,1): error TS6053: File 'D:/work/TestProjects/rel6.1/ng2/src/app/cars/shared/car.service.ngfactory.ts' not found.

Expected behavior Changes to be synced, no errors in console