Simple development HTTP server with live reload capability. Version 1.2.2 (latest stable; last released in 2019, no longer actively maintained). It automatically reloads the browser upon file changes, supports CSS injection without full reload, and requires no browser plugins. Key differentiators: zero-config setup, CLI-driven, supports SPA fallback, CORS, HTTPS, and custom middleware. Alternative to browsersync or webpack-dev-server but more minimal and focused on static file serving with live reload.
npm install live-serverVerified import paths — ran on the pinned version, not inferred.
Start live-server with custom port, suppress browser launch, and quiet mode for minimal output.
Upgrade to Node.js 6+ or use live-server@1.1.1
Use --ignore instead of --ignorePattern
Use forward slashes or double-backslashes in watch/ignore paths
Run `npm install -g live-server`
Use `--port=OTHER_PORT` to specify a different port
Ensure live-server is running and check the port