O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

tns run <platform>

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required