You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/08-Features/06-Live Preview/02-live-preview-settings.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Custom Live Preview Server
2
2
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.
4
4
5
5
## Accessing Live Preview Settings
6
6
@@ -9,10 +9,13 @@ There are two ways to access the Live Preview Settings dialog:
9
9
1.**From the File Menu**:
10
10
- Navigate to the 'File' menu at the top left of the editor.
11
11
- Select 'Live Preview Settings' from the dropdown.
12
+
<!-- TODO: replace this image as new features are missing in the dropdown -->
@@ -34,6 +37,6 @@ After configuring these settings, click 'Done' to save and apply your settings.
34
37
35
38
## Hot Reloading
36
39
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.
38
41
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