# Watch several devices at once in Preview on the Mac

> Move the Preview out of the inspector into a window of its own, and open more windows to watch a different device in each.

Source: https://air.build/docs/build/watch-several-devices-in-preview/

> [!NOTE]
> Preview in New Windows is an experimental feature of AirBuild for Mac. iPhone and iPad don't have it. It's off until you turn it on, and it may change in a later version.

On the Mac, the Preview is one tab in the inspector, so you see one of your Team's devices at a time. With **Preview in New Windows** on, you can move the Preview into a window of its own, open the Preview again on another device, and move that into a window too. Each window shows a different device. For the Preview itself, see [Run your app in Preview](https://air.build/docs/build/preview-your-app/).

## Turn it on

1. Choose AirBuild › **Settings…**, or press ⌘,.
2. Click **About**, then **Experimental Features**.
3. If it's off, turn on **Experimental Features** at the top of the page. When the app asks **Turn On Experimental Features?**, click **Turn On**.
4. Turn on **Preview in New Windows**. The line under it says: "Open in New Window moves the Preview into a window of its own. Open several to watch a different device in each."

The switches apply to this Mac only. For the other features on that page, see [Experimental Features](https://air.build/docs/settings/experimental/).

## Move the Preview into a window

1. Open the project's Preview. See [Run your app in Preview](https://air.build/docs/build/preview-your-app/#open-preview).
2. Click **Open in New Window**, the button at the right end of the row with the device name, over the device. You can also right-click the **Preview** tab and choose **Open in New Window**.

The device moves into a new window as it is: it doesn't reconnect or restart your app. The **Preview** tab closes in the inspector, like a tab dragged out of a browser.

## Open more devices

1. Open Preview in the inspector again. It opens on a device that no window shows.
2. To pick another device, click the device name over the device. A device that's already in a window reads **In Another Window** in the menu. Choosing it brings that window to the front instead.
3. Click **Open in New Window** again.

You can also open a window from the New Tab page: right-click **Preview** in its list, or under **Favorites** if you made it a favorite, and choose **Open in New Window**. The window takes the device the inspector was using, or else a device no window shows, and opens the project's app on it. See [Use AirBuild on a Mac](https://air.build/docs/get-started/use-airbuild-on-mac/#the-new-tab-page).

| Where | How to open a window |
| --- | --- |
| Over the device | Click **Open in New Window** at the right end of the row with the device name. It isn't there in full screen. |
| The inspector's tab row | Right-click the **Preview** tab, then choose **Open in New Window**. |
| The New Tab page | Right-click **Preview**, then choose **Open in New Window**. This also opens the project's app on the window's device. |

## Use a Preview window

- The window shows the device, its device menu and its controls, as the inspector does. It has no **Enter Full Screen**.
- The Window menu lists each window by its device's name.
- To switch a window to another device, click the device name at its top and choose one. A device shown in another window, the main window included, reads **In Another Window**. Choosing it brings that window to the front. Its **Shut Down** and **Restart** are in the window that shows it.
- **Reinstall** in a window installs the latest build of the project that's open in the main window.
- PocketJS handhelds play only in the inspector. A window's device menu doesn't list them.

No two places show the same device. A window stays on its device until you choose another one in it.

## Close a window

Close a window the usual Mac way. Its device comes back into the inspector, in place of whatever the Preview there was showing, and the **Preview** tab opens again.

Windows also close in these cases:

| When | What happens |
| --- | --- |
| You turn off **Preview in New Windows**, or **Experimental Features** | Every Preview window closes, as if you closed each one yourself. |
| You switch Team, or sign out | Every Preview window closes. Its device doesn't come back into the inspector. |
| You quit AirBuild | The windows aren't reopened when AirBuild starts again. |

## Questions

**I don't see Open in New Window.**

It's on the Mac only, and only while both **Experimental Features** and **Preview in New Windows** are on. Over the device, the button isn't shown in full screen or inside a Preview window.

**Open in New Window can't be chosen.**

No window can open right now. That happens while a PocketJS handheld is on screen in the inspector: pick an iPhone, iPad or Android device first. It also happens when every device of your Team is already in a window and the inspector has no device to move.

**The inspector's Preview shows an empty device outline.**

Every device of your Team is in a window, so the inspector has none left. Close a window to bring its device back. In a Team that runs on your Mac, you can also add a device: see [Type, rotate and add devices in Preview](https://air.build/docs/build/use-preview-tools/#add-a-device-mac).

**Can two windows show the same device?**

No. Choosing a device that another window shows brings that window to the front instead.

**Does this work in a cloud Team and a local Team?**

Yes. Each window shows one of your Team's devices, wherever your Team runs them.
