Closed
Description
In case you have typescript project and you have enabled sourceMaps in your tsconfig.json, tns livesync <platform> --watch
does not sync files and shows the following warning:
Unable to sync files. Error is: ENOENT: no such file or directory, stat 'D:\work\nativescript-cli\scratch\newTs\platforms\android\src\main\assets\app\main-page.js.map'
The issue has high impact as sourceMaps are true by default when using our typescript template or when adding nativescript-dev-typescript module (tns install typescript
).
Steps to reproduce:
tns create myApp --template typescript
tns livesync android --watch
- after livesync is finished, change any .ts file in your app dir.