LiveServerPlus
A lightweight development server with live reload capabilities.
Details
Installs
- Total 672
- Win 419
- Mac 125
- Linux 128
Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 7 | 3 | 4 | 2 | 4 | 7 | 5 | 1 | 4 | 6 | 5 | 2 | 3 | 7 | 5 | 2 | 5 | 2 | 7 | 5 | 7 | 9 | 7 | 7 | 3 | 5 | 1 | 5 | 4 | 6 | 5 | 3 | 4 | 10 | 4 | 4 | 6 | 4 | 5 | 6 | 7 | 10 | 11 | 10 | 11 |
Mac | 0 | 1 | 1 | 2 | 0 | 2 | 2 | 0 | 1 | 2 | 3 | 0 | 2 | 2 | 0 | 1 | 3 | 1 | 0 | 1 | 2 | 1 | 1 | 0 | 1 | 2 | 1 | 1 | 0 | 3 | 3 | 3 | 2 | 3 | 2 | 2 | 0 | 0 | 4 | 1 | 1 | 1 | 3 | 4 | 1 | 5 |
Linux | 0 | 1 | 1 | 5 | 1 | 1 | 1 | 1 | 2 | 1 | 0 | 5 | 2 | 5 | 2 | 3 | 3 | 2 | 1 | 3 | 1 | 0 | 0 | 3 | 2 | 3 | 1 | 0 | 1 | 1 | 1 | 1 | 2 | 4 | 3 | 3 | 3 | 1 | 1 | 1 | 2 | 2 | 1 | 1 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
Live Server Plus for Sublime Text
A lightweight development server with WebSocket-based live reload and directory listings—all from within Sublime Text.
Installation
Via Package Control (Recommended)
- Open the Command Palette:
Cmd/Ctrl + Shift + P
- Select “Package Control: Install Package”
- Search for “LiveServerPlus” and install.
Manual Installation
- Download or clone this repository.
- In Sublime Text, go to
Preferences > Browse Packages…
. - Move/copy the downloaded folder into the
Packages
directory. - Ensure the folder name is
LiveServerPlus
.
Usage
First, open a folder or workspace (File » Open Folder) in Sublime Text. Then:
1. Main Menu
- Tools » Live Server Plus:
- Start Server: Starts the live server.
- Stop Server: Stops the server.
- Open Current File: Opens active file in browser.
2. Command Palette
Press Cmd/Ctrl + Shift + P
, then select:
- Live Server Plus: Start
- Live Server Plus: Stop
- Live Server Plus: Open Current File
- Live Server Plus: Settings
Example Workflow
- Launch Sublime and open your web project folder.
- Run Live Server Plus: Start from the Command Palette.
- Edit and save files; browser refreshes automatically.
Features
- Instant Refresh: Automatically refreshes the browser on file changes.
- No External Dependencies: Runs directly in Sublime’s bundled Python environment.
- Friendly Directory View & Smart 404s: Easily navigate your project; get helpful suggestions on missing files.
- Flexible File Watching:
- Sublime Events: Fast, built-in method for most users.
- Built-in Watcher: Poll-based watcher as a fallback (handles external changes).
- Customizable Settings: Adjust port, host, compression, browser, and more.
- Status Bar Integration: Quickly see server status.
Optional Key Bindings
Add keyboard shortcuts via Preferences > 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 (Customizing Live Server)
Open via Preferences > Package Settings > Live Server Plus > Settings
.
Common settings explained:
- host
: Server address (e.g., “localhost”).
- port
: Server port (0
for automatic).
- open_browser_on_start
: Auto-open browser.
- browser
: Specific browser (e.g., “chrome”).
- enable_compression
: Gzip compression (faster loading).
- allowed_file_types
: Extensions served inline.
- live_reload
: Real-time browser update options:
- enabled
: Toggle reload feature.
- css_injection
: Inject CSS without full reload.
- delay
: Wait time before reloading.
Note: Restart the server after changing settings.
Requirements
- Sublime Text 4
- Browser with WebSocket support (Chrome, Firefox, Edge, Safari)
Known Limitations
- No built-in HTTPS support. Use reverse proxy if HTTPS is required.
- File watcher limits directories (50 max). Enable Sublime Events for larger projects.
Contributing
Contributions welcome! Please open issues or PRs.
Vendored Dependencies
To ensure compatibility and avoid external dependency issues, this plugin includes the following vendored libraries:
- Watchdog (v6.0.0) for file system event monitoring.
These libraries are included in the liveserverplus_lib/vendor directory and are loaded dynamically by the plugin.
Support
Report bugs/issues on GitHub Issues.
License
MIT License (LICENSE).