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.
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.
Turn it on
- Choose AirBuild › Settings…, or press ⌘,.
- Click About, then Experimental Features.
- 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.
- 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.
Move the Preview into a window
- Open the project’s Preview. See Run your app in Preview.
- 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
- Open Preview in the inspector again. It opens on a device that no window shows.
- 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.
- 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.
| 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. |