Tns run android no longer syncing files


The other day I deleted my platform and hooks folder because I was getting errors in my app and needed to do a complete re-build. When I did “tns install” again the hooks folder never came back and now my project no longer syncs changes I make to files.

I’m not 100% sure this is because the hooks folder is gone but it didn’t start happening until I deleted the hooks folder and wasn’t able to get it back.

How do I regenerate the hooks folder in my project using the CLI and get the file sync working again?


Try deleting the hooks, platforms & node_modules folder then just do tns run ios or android, everything should be back.