Skip to content

Commit 431b071

Browse files
committed
refactor: live preview settings docs
1 parent e4bdf6c commit 431b071

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/08-Features/06-Live Preview/02-live-preview-settings.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Custom Live Preview Server
22

3-
Phoenix Code now allows you to integrate your custom development server directly into the editor, enabling a live preview of your project as it would appear when served by your server. This is especially useful for dynamic projects that rely on server-side languages like PHP or frameworks like React that supports hot reloading.
3+
**Phoenix Code** now allows you to integrate your custom development server directly into the editor, enabling a Live Preview of your project as it would appear when served by your server. This is especially useful for dynamic projects that rely on server-side languages like *PHP* or frameworks like *React* that supports hot reloading.
44

55
## Accessing Live Preview Settings
66

@@ -9,10 +9,13 @@ There are two ways to access the Live Preview Settings dialog:
99
1. **From the File Menu**:
1010
- Navigate to the 'File' menu at the top left of the editor.
1111
- Select 'Live Preview Settings' from the dropdown.
12+
<!-- TODO: replace this image as new features are missing in the dropdown -->
1213
![live-preview-settings](../images/livePreview/settings-menu.png)
13-
1. **From the Live Preview Panel**:
14+
15+
2. **From the Live Preview Panel**:
1416
- Locate the live preview panel, typically found at the right side of the editor.
1517
- Hover over the live preview panel title bar and click the gear icon (⚙️) located at the top right of the panel title bar.
18+
<!-- TODO: replace this image as its not consistent with the way we display images -->
1619
![live-preview-settings](../images/livePreview/settings-gear.png)
1720
## Configuring Your Server
1821

@@ -34,6 +37,6 @@ After configuring these settings, click 'Done' to save and apply your settings.
3437

3538
## Hot Reloading
3639

37-
Hot reloading is a feature that automatically updates a web application during development whenever code changes are made, without requiring a manual refresh or losing state. Servers like Webpack Dev Server for JavaScript applications, Flask with Flask-Webpack for Python, and Rails with Webpacker for Ruby on Rails support hot reloading.
40+
Hot reloading is a feature that automatically updates a web application during development whenever code changes are made, without requiring a manual refresh or losing state. Servers like *Webpack Dev Server* for JavaScript applications, *Flask with Flask-Webpack* for Python, and *Rails with Webpacker* for Ruby on Rails support hot reloading.
3841

39-
In Phoenix Code, if your server supports hot reloading, check the 'Server supports hot reload' checkbox. This lets Phoenix Code update changed components only and prevent full page reloads on code changes. Unchecked, it refreshes the whole page on every save.
42+
In Phoenix Code, if your server supports hot reloading, check the 'Server supports hot reload' checkbox. This lets Phoenix Code update changed components only and prevent full page reloads on code changes. When unchecked, it refreshes the whole page on every save.

0 commit comments

Comments
 (0)