Live Server

Use this skill when the user wants a quick development HTTP server with automatic browser reload on file changes.

javimosch 98433e5 884 B Updated

File contents

live-server Plugin

live-server serves static files with automatic browser reload on file changes. Ideal for frontend development and rapid prototyping.

Commands

  • live-server _ _ <args> — Passthrough

Usage Examples

  • "serve current directory with live reload"
  • "start server on port 8080 with HTTPS"
  • "serve with SPA history fallback"
  • "open browser on server start"

Installation

npm install -g live-server

Key Features

  • Automatic browser reload on file changes
  • Configurable port and host binding
  • HTTPS support with custom certificate
  • SPA history fallback for client-side routing
  • Custom middleware support
  • File ignore patterns for watch exclusion
  • Browser auto-open on startup

javimosch/supercli/tree/main/plugins/live-server/skills/quickstart commit 98433e5beb

Frequently asked questions

npx skillmds@latest add javimosch/live-server