Skip to content

Commit 2eb96e8

Browse files
committed
chore: remove ns preview
1 parent 1077d22 commit 2eb96e8

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

development-workflow.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -40,30 +40,6 @@ ns clean
4040

4141
If you're having trouble running your application or you have added new dependencies, it's usually a good practice to start with `ns clean` before running to be sure you avoid any type of dependency issues or native project build issues.
4242

43-
### `preview`
44-
45-
This command allows you to link the app you’re developing locally to the NativeScript Playground app for your iOS or Android device through the NativeScript Playground app. Although, this workflow is great for getting started, it does have limitations.
46-
47-
```cli
48-
ns preview
49-
```
50-
51-
You’ll see a QR code in your terminal.
52-
53-
Next, open the **NativeScript Playground** app on your iOS or Android device.
54-
55-
::: tip Tip
56-
If you don’t already have the NativeScript Playground app installed on your device, go ahead and download it by searching for “NativeScript Playground” in the iOS App Store or Google Play.
57-
:::
58-
59-
In the Playground app, tap the **Scan QR code** option, and scan the QR code that appears in your terminal or commands prompt.
60-
61-
After scanning, you should see your app on your device.
62-
63-
Now that you have the app on your device, you might notice that the `ns preview` command in your terminal or command prompt never finished. That is, you cannot type in your terminal.
64-
65-
This happens because the `ns preview` command is now watching your project for changes. When the `ns preview` command detects a code change, the command automatically refreshes, or _livesyncs_, your app so you can see those changes immediately. Let’s make some updates to your code so you can see this in action.
66-
6743
### `run`
6844

6945
Runs your project on all connected devices or in native emulators for the selected platform. The command will prepare, build and deploy the app when necessary. By default listens for changes in your code, synchronizes those changes and refreshes all selected devices.

0 commit comments

Comments
 (0)