The first command we will cover is the one you will use every time you
start your app. To make things simpler, I will use <platform>
to mean iOS, Android, or--when it is finally supported--Windows.
The tns run <platform>
command will automatically build your app and sync it up to the devices and emulators. It will do all the heavy-lifting to try and make your app be in a running state on the device, and then it will launch the app. This command has changed over the years and has now become a fairly smart command that will automatically make certain choices to simplify your development life. One of the cool features of this command is that it will sync your application to all running and connected devices. If you have five different devices hooked up, all five of them will receive the changes. This only works per each platform, but you can run tns run ios
in one and tns run android
in another command window, and then any changes will automatically...