typescriptnativescripttns

tns --watch not working


So a few days i started this app and --watch was working just fine until today.

This is what i call: tns run android --emulator --device=ANDROID --watch

but when i change code, nothing happens, my changes are not present. When i run tns doctor, it shows that everything is up to date except ios emulator( witch i am not using at this time ).

Just tried to reinstall the app( from git - https://github.com/nestor94/my-instagram ) and re-created the avd. still --watch not working.

Thanks!


Solution

  • You are using the wrong command to watch for changes try using tns livesync android --watch