ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Live​Server​Plus

by ifrederico ST4

A lightweight development server with live reload capabilities.

Details

Installs

  • Total 2K
  • Win 1K
  • Mac 365
  • Linux 408
Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26
Windows 5 4 5 6 4 5 4 2 1 4 4 7 6 4 3 7 3 6 7 9 0 9 2 4 12 5 2 8 6 6 3 4 4 6 5 7 6 11 4 6 5 6 4 9 7 4
Mac 2 2 2 2 1 2 1 0 1 1 1 1 0 2 1 2 0 0 2 6 0 4 3 3 5 2 0 2 6 4 2 0 2 1 0 1 0 2 1 0 0 0 2 3 3 1
Linux 0 1 4 2 2 0 4 4 2 1 3 3 0 2 0 4 0 3 0 2 2 3 1 0 0 3 2 2 5 5 0 6 2 0 3 1 1 2 2 4 1 4 4 0 1 0

Readme

Source
raw.​githubusercontent.​com

Live Server Plus for Sublime Text

A lightweight development server with WebSocket‑based live reload.

Live Server Plus Demo


Installation

Package Control (recommended)

  1. Open the Command Palette: Cmd/Ctrl + Shift + P
  2. Select Package Control: Install Package
  3. Search for “LiveServerPlus” and install.

Manual

  1. Download or clone this repository.
  2. In Sublime Text, choose Preferences ▸ Browse Packages…
  3. Copy the folder into the Packages directory and name it LiveServerPlus.

Usage

Open a file, folder or workspace (File ▸ Open Folder) first.

Main menu

Tools ▸ Live Server Plus:

Action Description
Start Server Starts the server (multi‑folder picker).
Stop Server Stops the server.
Open in Browser Opens the active file through the server.
Show Mobile QR Code Displays a QR linking devices on the LAN to the dev URL.
Enable Live Reload Switch to Sublime-driven reload (auto-save option).
Disable Live Reload Return to Watchdog-based external file watching.
Change Port… Enter any port or 0 for “find a free one”.
Settings… Opens the user settings file.

Command Palette

Cmd/Ctrl + Shift + P → type:

  • Live Server Plus: Start Server
  • Live Server Plus: Stop Server
  • Live Server Plus: Open in Browser
  • Live Server Plus: Show Mobile QR Code
  • Live Server Plus: Enable Live Reload
  • Live Server Plus: Disable Live Reload
  • Live Server Plus: Change Port…
  • Live Server Plus: Settings

Example workflow

  1. Open your project folder.
  2. Run Live Server Plus: Start Server.
  3. Edit and save—your browser refreshes automatically.

Features

  • Instant reload on file changes; optional CSS‑only injection. Enable Sublime-only mode when you want immediate reloads on save, or leave it disabled to monitor external tools via Watchdog.
  • Mobile preview: scan a QR code to open the site on any device.
  • Port selection: choose a port at startup or set "port": 0 for a free one.
  • Two watcher modes: Sublime on‑save events (fast) or Watchdog polling (external changes).
  • Runs in Sublime’s bundled Python—no external runtime required.

Optional key bindings

[
    { "keys": ["alt+shift+s"], "command": "live_server_start" },
    { "keys": ["alt+shift+o"], "command": "open_current_file_live_server" },
    { "keys": ["alt+shift+x"], "command": "live_server_stop" }
]

Settings quick reference

// LiveServerPlus.sublime-settings (user)
{
    "customBrowser": "",
    "donotShowInfoMsg": false,
    "donotVerifyTags": false,
    "fullReload": false,
    "liveReload": false,
    "host": "127.0.0.1",
    "maxThreads": 64,
    "ignoreFiles": ["**/node_modules/**", "**/.git/**", "**/__pycache__/**"],
    "logging": false,
    "noBrowser": false,
    "port": 0,
    "showOnStatusbar": true,
    "useLocalIp": false,
    "useWebExt": false,
    "wait": 100
}

Restart the server after changing settings.


Requirements

  • Sublime Text 4 (Build ≥ 4152)
  • Browser with WebSocket support (Chrome, Firefox, Edge, Safari)

Known limitations

  • Watchdog mode watches up to 50 directories; adjust ignore globs or reduce scope for very large projects. When Live Reload is enabled, only saves inside Sublime trigger refreshes.

Contributing

Contributions welcome! Issues and pull requests are welcome.


Vendored dependencies

  • Watchdog 6.0.0 – filesystem events
  • PyQRCode and pypng – QR generation

All vendored under liveserverplus_lib/vendor/.


Support

Report bugs/issues on GitHub: https://github.com/ifrederico/sublime-liveserverplus/issues


License

MIT