Skip to content

Commit 42c5fb0

Browse files
authored
Merge pull request #7 from ximarix/master
direct setup documentation updated
2 parents 16ff9f9 + 7c4f579 commit 42c5fb0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,16 @@ There are two ways to setup `Live Server Web Extension`.
4242

4343
* Install [`VSCode`](https://code.visualstudio.com/download) Editor & [`Live Server`](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) Extension.
4444

45-
* Start `Live Server` (assuming the port of live server is `5500`).
45+
* Start `Live Server` (assuming the port of live server is `5500`). This server will be used by the extension to know, if any of the files have changed.
46+
47+
* Open a terminal and navigate to the folder your project lives in (generally index.php lives here..) Start a web server by running `php -S localhost:8000`
4648

4749
* Now open pop-up menu of `Live Server Web Extension` and check the option `I don't want proxy setup`. [Follow the screenshot](./img/screenshots/live-server-web-extension-easy-setup.png).
4850

49-
* Now at the Actual Server add `http://localhost/php/` (assuming your actual server is `http://localhost/php/`).
51+
* Now at the Actual Server add `http://localhost:8000/`.
5052
* Now at the `Live Server` add `http://localhost:5500/`.
5153

52-
* Now stay on `http://localhost/php/`. On every changes, your page will be refreshed automaticly.
54+
* Now open up `http://localhost:8000/` in your browser. On every changes, your page will be refreshed automaticly.
5355

5456

5557
----------

0 commit comments

Comments
 (0)