live-server 0.5.0

Launch a local network server with live reload feature for static pages.
live-server-0.5.0 is not a library.
Visit the last successful build: live-server-0.7.0

crate-badge License check-badge

Live Server

Launch a local network server with live reload feature for static pages.

Install

$ cargo install live-server

Usage

$ live-server --help
live-server 0.4.1
Launch a local network server with live reload feature for static pages

USAGE:
    live-server [OPTIONS] [PATH]

ARGS:
    <PATH>    Set the path of the static assets [default: .]

OPTIONS:
    -h, --host <HOST>    Set the listener host [default: LAN IP address]
        --help           Print help information
    -p, --port <PORT>    Set the listener port [default: 8000]
    -V, --version        Print version information

Example

$ live-server
Watcher listening on /home/lomirus/demo
 Server listening on http://192.168.0.105:8000/
[UPDATE] index.html
[UPDATE] scripts/main.js