Giter Site home page Giter Site logo

myhololens / vscode-live-server-plus-plus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ritwickdey/vscode-live-server-plus-plus

0.0 2.0 0.0 623 KB

VsCode Live Server++ : It's Truly Live ๐Ÿ˜Š (BETA) -- [NOT RELEASED YET]

License: MIT License

TypeScript 83.83% HTML 0.77% JavaScript 15.40%

vscode-live-server-plus-plus's Introduction

Vscode Live Server++ (BETA)

It's Truly Live

VSCode Marketplace Total Installs Avarage Rating Travis branch GitHub license


VSCode Live Server++


Features

  • No Need to save HTML, CSS, JS ๐Ÿ˜„
  • No Browser full reload (for HTML & CSS)
  • Customizable Server Root
  • Customizable Server Port
  • Customizable reloading time
  • Customizable index file (e.g index.html)
  • Auto Browser open (Mozila, Chrome & Edge)
  • Control from statusbar

Downside

  • Live Server++ will work well if your project only contents css & html and minimal JavaScript. If you do lot of DOM Manupulation with JavaScript, Live Server++ is not recommended.

How to Start/Stop Server ?

  1. Open a project and click to Go Live++ from the status bar to turn the server on/off.

  2. Open the Command Pallete by pressing F1 or ctrl+shift+P and type Live Server++: Open Server to start a server or type Live Server++: Close Server to stop a server.


Settings

Click here to read settings Docs.

What's new ?

  • v0.0.1 (##DATE##)

    • Initial release
    • hot Reload supported
    • No need to save
    • 5 settings are added (Port, Root, indexFile, timeout, browser)

Changelog

To check full changelog click here.


Why Live Server++ when there is a Live Server ?

Actually, I was receiving a lot of emails, PR, comments (and also there was few issue request, e.g. #12080) - why auto reload only happens when we save the file? - why it's not realtime?... blah blah....

Well, in Live Server Extension, I'm using a popular npm module (named live-server) and it's the core library of Live Server. (yaa! too many "Live Server" ๐Ÿ˜œ). In the way it's working - it never possible auto reload without saving the file.

And yaa, to be honest, when I made (in mid of 2017) the live server extension, I didn't know Node.js or JavaScript well (Hold on! I still don't know Node.js but I'm now confident). I even didn't know promise/callback well. I understood the callback (& callback hell too) while making the extension. And Promise? Only I knew how to use it like .then().then().then() and IIFE? or closure? - I didn't even hear about those names at that time. ๐Ÿ˜ฌ

Okay, now coming to the point, Code of the Live Server can't be migrated with Live Server++. Live Server++ is not depended on live-server(the npm module) - I've written the server side code from scratch & it has minimal dependency (still under development).


LICENSE

This extension is licensed under the MIT License

vscode-live-server-plus-plus's People

Contributors

ritwickdey avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.