• Stars
    star
    5,766
  • Rank 7,050 (Top 0.2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Launch a development local Server with live reload feature for static & dynamic pages.

[Wanna try LIVE SERVER++ (BETA) ? It'll enable live changes without saving file. https://github.com/ritwickdey/vscode-live-server-plus-plus ]

Live Server

Live Server loves πŸ’˜ your multi-root workspace

Live Server for server side pages like PHP. Check Here

[For 'command not found error' #78]

VSCode Marketplace Total Installs Avarage Rating
Travis branch Appveyor branch GitHub license

Launch a local development server with live reload feature for static & dynamic pages.

Live Server Demo VSCode

Shortcuts to Start/Stop Server

[NOTE: In case if you don't have any .html or .htm file in your workspace then you have to follow method no 4 & 5 to start server.]

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

  2. Right click on a HTML file from Explorer Window and click on Open with Live Server. Explorer Window Control.

  3. Open a HTML file and right-click on the editor and click on Open with Live Server. Edit Menu Option Preview

  4. Hit (alt+L, alt+O) to Open the Server and (alt+L, alt+C) to Stop the server (You can change the shortcut form keybinding). [On MAC, cmd+L, cmd+O and cmd+L, cmd+C]

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

Features

  • A Quick Development Live Server with live browser reload.
  • Start or Stop server by a single click from status bar.
  • Open a HTML file to browser from Explorer menu.[Quick Gif Demo].
  • Support for excluding files for change detection.
  • Hot Key control.
  • Customizable Port Number, Server Root, default browser.
  • Support for any browser (Eg: Firefox Nightly) using advance Command Line.
  • Support for Chrome Debugging Attachment (More Info). [Quick Gif Demo].
  • Remote Connect through WLAN (E.g.: Connect with mobile) [Need Help? See FAQ Section]
  • Use preferable host name (localhost or 127.0.0.1).
  • Customizable Supporting Tag for Live Reload feature. (Default is Body or head)
  • SVG Support
  • https Support.
  • Support for proxy.
  • CORS Enabled
  • Multi-root workspace supported.
  • Support for any file even dynamic pages through Live Server Web Extension.

Installation

Open VSCode and type ctrl+P, type ext install ritwickdey.liveserver.

Settings

All settings are now listed here Settings Docs.

FAQs

All FAQs are now listed here FAQ Docs

What's new ?

  • Version 5.6.1 (17.04.19)

    • Fixed Extension host terminated unexpectedly [#431]
  • Version 5.6.0 (17.04.19)

  • Version 5.5.1 (12.02.19)

    • [Fixes] Fixed Extension host terminated unexpectedly for MacOS. [#285]
  • Version 5.5.0 (12.02.19)

    • [Fixes] Fixed ignoreFiles settings [#255]
    • Attempt to fix high cpu load [#278]

Changelog

To check full changelog click here.

Special Thanks To Maintainers

A special thanks to Max Schmitt, Joydip Roy & Ayo Adesugba for contributing their valueable time on this project.

Max Schmitt Joydip Roy Ayo Adesugba

LICENSE

This extension is licensed under the MIT License

More Repositories

1

live-server-web-extension

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)
JavaScript
771
star
2

vscode-live-sass-compiler

Compile Sass or Scss file to CSS at realtime with live browser reload feature.
TypeScript
659
star
3

vscode-live-server-plus-plus

VsCode Live Server++ : It's Truly Live 😊 (BETA) -- [NOT RELEASED YET]
TypeScript
497
star
4

ritwickdey.github.io

(outdated) This is my portfolio website (SPA), developed with Angular πŸ’˜ πŸ’– πŸ’˜ πŸ’–
TypeScript
98
star
5

Cake-Shop

A sample Cake Shop Website built with ASP.NET Core (Multi-Page Application)
C#
60
star
6

organic-shop

A shopping site building with Angular 4 and Firebase.
TypeScript
55
star
7

social-network-mean-stack

A chatting web app using MEAN Stack (Node.js, Angular 4, Express.js & MongoDB)
TypeScript
35
star
8

vscode-create-file-folder

A small vscode extension that help you to create files & folder in Atom Style.
TypeScript
34
star
9

doraemon-pure-css

Doraemon (the cartoon character) is designed with only CSS & HTML
CSS
33
star
10

social-diary

A simple story app where people can share their story. Made with React & Redux
JavaScript
19
star
11

react-jsx-templating

A very simple React library for templating syntax in JSX, inspired by Angular (e.g. *ngIf ) :)
JavaScript
19
star
12

WeMate

A simple zero level chat website made with ASP.NET Form and SQL Server as Backend service.
ASP
14
star
13

my-react-router

Minimal version of React Router | Just for learning purpose
JavaScript
13
star
14

simple-bike-shopping-site

A Sample basic HTML Template for front page of a Bike company
HTML
12
star
15

covid-19-india-react

COVID-19 India (React.js/Frontend) | Refined stats from COVID-19 Official Website
JavaScript
11
star
16

malloc-impl-demo

Minimal implementation of malloc and free for demo purposes.
C
10
star
17

covid-19-india-golang

COVID-19 India (Golang/Backend) | Refined stats from COVID-19 Official Website
Go
9
star
18

face-detector-chrome-api

Face Detection using Chrome API
JavaScript
9
star
19

querydecoder

Go Package to populate struct from optional query parameters using 'query' tag
Go
8
star
20

sample-login-signup-form

A sample Login/Signup form made with angular 5.
TypeScript
7
star
21

react-sample-dashboard

A sample dashboard using react.
JavaScript
6
star
22

Sale-It

A Simple Vehicle Dealer App built with ASP.NET Core + Angular 4
C#
6
star
23

expensify-app

An Expense Manager. This app is built with React with Redux architecture.
JavaScript
5
star
24

indecision-app

My First React App => Your Computer's Choice
JavaScript
3
star
25

LargeNumberFactorialUsingC

Factorial of large numbers using C
C
3
star
26

bgi-tech-fest-2k18

Web Page for Tech Fest of Our College. Maintaining by @prithweedas & @ritwickdey
HTML
3
star
27

HomeAwesome

A FireFox & Chrome extension that will replace your home screen (New Tab) of your browser with beautiful clocks & design.
JavaScript
2
star
28

rust-basic-examples

these are some basic examples or rust language
Rust
1
star
29

track-death-js-code

JavaScript
1
star
30

sample-css-flex-grid

sample css flexbox grid
HTML
1
star