in app.module.ts change some of the imports to use invalid path
the compilation stops on the error which is expected
fix the error
in item.services.ts change import { Item } to use invalid path
Result:
ERROR in src/app/item/item.service.ts(3,22): error TS2307: Cannot find module './items'. but the compilation doesn't stop as expected.
Second scenario:
In the same app fix the previous error
in app.module.ts change something in the declarations: section
Result: No stop on error. The app is deployed and crashes
Additional context
Not reproducible with nativescript-dev-webpack@1.2.1
It is reproducible with run android too
Environment CLI: @next Plugin(s): nativescript-dev-webpack@next
To Reproduce First scenario:
tns create app --ng
npm i nativescript-dev-webpack@next --save-dev --save-exact
node_modules/.bin/update-ns-webpack --deps --configs
tns run ios
in
app.module.ts
change some of the imports to use invalid paththe compilation stops on the error which is expected
fix the error
in
item.services.ts
changeimport { Item }
to use invalid path Result: ERROR in src/app/item/item.service.ts(3,22): error TS2307: Cannot find module './items'. but the compilation doesn't stop as expected.Second scenario:
app.module.ts
change something in thedeclarations:
section Result: No stop on error. The app is deployed and crashesAdditional context Not reproducible with nativescript-dev-webpack@1.2.1 It is reproducible with
run android
too