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: README.md
+2-3Lines changed: 2 additions & 3 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
# Live Server - Web Extension
2
-
[](https://chrome.google.com/webstore/detail/live-server-web-extension/fiegdmejfepffgpnejdinekhfieaogmj/)[](https://chrome.google.com/webstore/detail/live-server-web-extension/fiegdmejfepffgpnejdinekhfieaogmj/)[](https://chrome.google.com/webstore/detail/live-server-web-extension/fiegdmejfepffgpnejdinekhfieaogmj/)
[](https://chrome.google.com/webstore/detail/live-server-web-extension/fiegdmejfepffgpnejdinekhfieaogmj/)[](https://chrome.google.com/webstore/detail/live-server-web-extension/fiegdmejfepffgpnejdinekhfieaogmj/)[](https://chrome.google.com/webstore/detail/live-server-web-extension/fiegdmejfepffgpnejdinekhfieaogmj/reviews)
This browser add-on is an extension for a developer tool in VS Code editor ([Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer)). With this add-on installed, along with the VS Code extension, it gives you a functionality to automatically update your website on save; for other files than just `.htm` and `.html`.
@@ -13,7 +13,6 @@ So specifically, with this add-on, live reload will also work with the following
Copy file name to clipboardExpand all lines: docs/Setup.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
#### The Common Misconceptions
3
3
Neither the browser add-on nor the VS Code extension will host a server for: `PHP`, `.NET` or `NodeJS`. It will give you the *reloading function*, so you do not need to refresh the page every time you save.
4
4
5
-
In other words. If you just want the reload function when you work with `.html` files, then you do not need this extension at all.
5
+
In other words. If you just want the reload function when you work with .html files, then you do not need this extension at all.
6
6
7
7
<br>
8
8
@@ -34,8 +34,9 @@ In other words. If you just want the reload function when you work with `.html`
34
34
3. Install the browser add-on; [Chrome](https://chrome.google.com/webstore/detail/live-server-web-extension/fiegdmejfepffgpnejdinekhfieaogmj/) or [Firefox](https://addons.mozilla.org/en-US/firefox/addon/live-server-web-extension/).
35
35
4. Install and run a server on your machine: [Servers and Frameworks](#servers-and-frameworks)
36
36
5. Enter the neccesary values (code block below)
37
-
1.**Proxy Path:** is the path to the folder you want proxy from. The path is relative to the workspace.
38
-
2. **Actual Server Address:** is the address where your server is located and the port.
37
+
1.**enable:** whether it is enabled or not.
38
+
2.**baseUri:** is the path to the folder you want proxy from. The path is relative to the workspace.
39
+
3.**proxyUri:** is the address where your server (xampp or similar server) is located, and the port.
39
40
6. Push the `Go Live`-button in your editor's statusbar.
40
41
41
42
*`.vscode/settings.json`*
@@ -47,16 +48,16 @@ In other words. If you just want the reload function when you work with `.html`
47
48
// This means that you change your real URL (current PHP url)
48
49
// to another URL (which Live Sever starts).
49
50
"liveServer.settings.proxy": {
50
-
"enable":true,
51
-
"baseUri":"/", //i. Proxy Path.
52
-
"proxyUri":"http://localhost:80/workspace"//ii. Actual Server Address.
51
+
"enable":true,// i. enabled
52
+
"baseUri":"/", //ii. workspace
53
+
"proxyUri":"http://localhost:80/workspace"//iii. Actual Server Address
53
54
},
54
55
}
55
56
56
57
```
57
58
>**Note:** You need to stay on the new host that will be provided by Live Server.
0 commit comments