Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Live Server for VS CodeNew to Visual Studio Code? Get it now.
Live Server for VS Code

Live Server for VS Code

Daemon Shade

|
2 installs
| (0) | Free
A lightweight live server for VS Code workspace.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Live Server for VS Code

A lightweight local development server for VS Code with automatic browser reload.

Features

  • Serves files from your current workspace folder
  • Auto-injects a live-reload client into HTML pages
  • Uses WebSocket to trigger reload on file changes
  • Supports CSS hot refresh (refreshcss) without full page reload
  • Includes directory listing when no index.html exists

Commands

  • Live Server: Start Server (liveServer.start)
  • Live Server: Stop Server (liveServer.stop)

How It Works

  1. Start the server from VS Code.
  2. Opened browser points to http://localhost:5500.
  3. HTML responses get an injected live-reload script.
  4. File watcher detects changes and sends:
    • reload for non-CSS changes
    • refreshcss for CSS changes

Development

npm install
npm run compile
npm test

Watch mode:

npm run watch

Requirements

  • VS Code ^1.80.0
  • Node.js runtime compatible with project dependencies

License

See LICENSE.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft