Project Previews
To preview a page of your project, open it and choose Preview ⟩ Preview “xyz.html” (command P), or click the Preview button (the compass) in the toolbar and choose it there. The preview opens as a tab of the project window. Hold option and the command becomes Preview in New Window (option command P), which is handy when you have a second display.
A preview updates as you type, without your saving anything. A change to a stylesheet is applied to the page where it stands; a change to anything else reloads the page.
The preview is backed by a web server that Espresso runs on your Mac for each project. This makes it equivalent to a published website in navigation and resource loading behavior: a link that starts with / leads to the top of your project, as it will on your host. The address field shows your project's name where a website's address would be.
The built-in server supports only static files (which you can generate inside Espresso with Dynamo, in which case it is the built site that is previewed), so you can be sure that your website will work on absolutely any hosting service out there. See Website Previews for more information about working with CMSes and interpreted languages like PHP.
In the address field of a preview are the Xray button, at its left, and the reload button, at its right. To get from a preview to the files behind it, click the Edit button in the toolbar, which lists the page's stylesheets.
Other browsers
Because a preview is served like a website, you can see it in the other browsers on your Mac. Choose one from Preview ⟩ Preview In. The page in the browser updates as you type just as Espresso's own preview does, and Xray works there too.
Troubleshooting
If a change to a script or an image does not appear to be showing up, reload the preview by hand using Preview ⟩ Reload Page (command R) or the button in the address field. Reloading fetches everything on the page afresh. If the change still does not show up, try Espresso ⟩ Empty Cache…, then reload again.
Pages with audio or video can misbehave when they are reloaded as often as a live preview reloads them. If so, you may want to comment out the media elements while you work on the rest of the page.
Preview is available for documents that belong to a project. To preview a file that is by itself, open its folder as a project.