live

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2026 License: MIT Imports: 12 Imported by: 0

README

live 🔄

Live reloading of static HTML, similar to the live-server NPM package, but implemented in Go.

Installation

Requires you to have Go installed.

go install github.com/peterhellberg/live@latest

[!Tip] You can also use go run github.com/peterhellberg/live@latest

Usage

$ live -h
Usage of live:
  -addr string
        addr to listen on (default "0.0.0.0:9222")
  -ignore string
        comma-separated list of path substrings to ignore (default ".git,.zig-cache,node_modules")
  -open
        automatically open browser (default true)
  -root string
        directory to serve (default ".")
  -wait duration
        reload wait duration (e.g. 50ms, 200ms) (default 100ms)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL