Tns debug command causes compile twice


Using the cli with the command: tns debug android.

For some reason whenever I make changes to my code, the compiler fires off and prints this to my terminal. That should be correct, I’ve only made one change to that file.

Successfully transferred t9.component.ts.

than in a few second it compiles again and prints this to the terminal:

Successfully transferred t9.component.js.
Successfully transferred player.module.js.
Successfully transferred player.router.module.js.

It is kind of slowing me down, because the app has to restart twice before I can review my changes. Do I have to make some tweak to my compiler?


I can confirm that there is no such issue on my end. Try killing all node process and do a clean debug build, may be that fixes the issue.