LiveServerPlus
A lightweight development server with live reload capabilities.
Details
Installs
- Total 1K
- Win 742
- Mac 226
- Linux 246
Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 6 | 3 | 2 | 6 | 6 | 8 | 2 | 6 | 4 | 2 | 4 | 8 | 4 | 4 | 2 | 5 | 4 | 5 | 7 | 9 | 6 | 7 | 2 | 7 | 4 | 3 | 6 | 3 | 1 | 4 | 3 | 4 | 6 | 11 | 5 | 6 | 3 | 6 | 4 | 8 | 5 | 9 | 6 | 12 | 6 |
Mac | 0 | 1 | 1 | 0 | 1 | 2 | 0 | 2 | 3 | 2 | 5 | 2 | 2 | 5 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 1 | 1 | 5 | 0 | 3 | 2 | 3 | 1 | 2 | 0 | 1 | 0 | 2 | 1 | 0 | 4 | 3 | 1 | 2 | 2 | 2 | 10 | 3 | 1 | 0 |
Linux | 0 | 1 | 2 | 2 | 5 | 5 | 3 | 1 | 1 | 1 | 2 | 2 | 5 | 2 | 1 | 0 | 1 | 2 | 1 | 2 | 0 | 0 | 1 | 2 | 5 | 1 | 0 | 4 | 3 | 0 | 1 | 1 | 2 | 0 | 1 | 2 | 1 | 1 | 4 | 1 | 1 | 3 | 5 | 2 | 4 | 5 |
Readme
- Source
- raw.githubusercontent.com
Live Server Plus for Sublime Text
A lightweight development server with WebSocket‑based live reload.
Installation
Package Control (recommended)
- Open the Command Palette:
Cmd/Ctrl + Shift + P
- Select Package Control: Install Package
- Search for “LiveServerPlus” and install.
Manual
- Download or clone this repository.
- In Sublime Text, choose Preferences ▸ Browse Packages…
- Copy the folder into the
Packages
directory and name itLiveServerPlus
.
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 Current File | Opens the active file through the server. |
Show Mobile QR Code | Displays a QR linking devices on the LAN to the dev URL. |
Live Reload | Toggles live‑reload on or off. |
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 Current File in Browser
- Live Server Plus: Show Mobile QR Code
- Live Server Plus: Toggle Live Reload
- Live Server Plus: Change Port…
- Live Server Plus: Settings
Example workflow
- Open your project folder.
- Run Live Server Plus: Start Server.
- Edit and save—your browser refreshes automatically.
Features
- Instant reload on file changes; optional CSS‑only injection.
- 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)
{
"host": "localhost",
"port": 0, // 0 = choose a free port
"open_browser_on_start": true,
"browser": "", // "chrome", "firefox", "edge", ...
"status_bar_enabled": true,
"live_reload": {
"enabled": false,
"css_injection": true,
"delay": 500, // ms debounce (0 = instant)
"ignore_exts": [".log", ".map"]
},
"enable_compression": true,
"cors_enabled": false,
"max_file_size": 100, // MB
"connections": {
"max_concurrent": 100,
"timeout": 30,
"max_threads": 10
},
"allowed_file_types": [".html", ".css", ".js", "..."],
"ignore_dirs": ["node_modules", ".git", "__pycache__"]
}
Restart the server after changing settings.
Requirements
- Sublime Text 4 (Build ≥ 4152)
- Browser with WebSocket support (Chrome, Firefox, Edge, Safari)
Known limitations
- No built‑in HTTPS.
- Watchdog mode watches up to 50 directories; switch to Sublime‑event mode for very large projects.
Contributing
Contributions welcome! Issues and pull requests are welcome.
Vendored dependencies
- Watchdog 6.0.0 – filesystem events
- PyQRCode and pypng – QR generation (optional)
All vendored under liveserverplus_lib/vendor/
.
Support
Report bugs/issues on GitHub: https://github.com/ifrederico/sublime-liveserverplus/issues