Skip to content

It makes your existing server live. This is a browser extension that helps you to live reload feature for dynamic content (PHP, Node.js, ASP.NET -- Whatever, it doesn't matter)

License

Notifications You must be signed in to change notification settings

ritwickdey/live-server-web-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Server - Web Extension - BETA

[Please give a try. Setup is pretty easy. I need your feedback.]


Live Server - Web Extension is a browser extension that helps you to live reload feature for dynamic content (PHP, Node.js, ASP.NET -- Whatever, it doesn't matter). This extension is for Live Server (VSCode Extension - required v3.0.0+).

Installs:

Demo:

It is a simple PHP project.

Setup:

  • Install the extension on your browser.

  • Install VSCode Editor & Live Server Extension.

  • Confiure Live Server settings (.vscode/settings.json) as follows :

    //.vscode/settings.json
    
    {
        // Mainly for static files
        "liveServer.settings.useWebExt": true,
    
        /*
            If you have dynamic pages (PHP), you have to setup proxy - it's pretty easy. 
    
            In easy word, it means you're shifting your real url (actual PHP url) 
            to another url (which LiveSever will start).
        */
        "liveServer.settings.proxy": {
            "enable": true, //switch on :)
            "baseUri": "/", //from where you want to proxy.  
            "proxyUri": "https://127.0.0.1:80" //the actual url.
        },
    }
    • ...And you're done! Just Open Live Server (ctrl+shift+p > "Open Live Server") and don't forget to turn on live reload from your browser.

What is new ?

  • Version 0.0.1 (22.10.17)

    • Initial Release under BETA.

LICENSE

This extension is licensed under the MIT License