A simple development HTTP server with live reload capability for HTML, JavaScript, and CSS files.
Live Server is a Node.js-based development HTTP server that provides live reload functionality for HTML, JavaScript, and CSS files. It enables AJAX requests during local development (which don't work with the `file://` protocol) and automatically refreshes the browser when files change, speeding up the development workflow.
Frontend developers, web designers, and anyone hacking on static websites or web applications who need a quick, automated way to serve files and see changes in real-time.
Developers choose Live Server for its simplicity, zero-configuration live reload out of the box, and extensive customization options via CLI flags and a Node.js API, making it a versatile alternative to basic static servers or heavier development setups.
A simple development http server with live reload capability.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically refreshes the browser on file changes, with CSS updates applied without a full page reload, speeding up development as highlighted in the README.
No browser plugins or manual code snippets required; the server injects a WebSocket script automatically, making it effortless to start using.
Supports extensive customization via CLI flags and Node.js API, including ports, middleware, HTTPS, SPA routing, and proxy settings, as detailed in the usage sections.
Easy to install and run on any system with Node.js, offering a straightforward command-line interface with options for tuning server behavior.
Lacks built-in compilation or bundling for modern frontend tools (e.g., TypeScript, SCSS), requiring separate processes, which adds complexity for projects needing these features.
Enabling HTTPS requires creating a custom configuration module with certificate files, adding steps compared to servers with simpler SSL support.
Features like --ignorePattern are deprecated in favor of --ignore, which can confuse users and necessitate updates to existing configurations.
Can encounter errors like ENOSPC on Linux, requiring system-level fixes to increase file watch limits, as noted in the troubleshooting section.