go-reload

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT

README

go-reload

Simple live reload for static websites.

Installation

go install codeberg.org/jangil/go-reload/cmd/go-reload@v0.1.1

Usage

Usage of go-reload:
  -browser string
    	browser command (default "firefox")
  -delay int
    	files check delay in millisecond (default 500)
  -dev-tools-port int
    	devtools port (default 9222)
  -dev-tools-timeout int
    	devtools timeout in seconds (default 10)
  -directory string
    	directory
  -port int
    	port (default 8000)

You can pass arguments to browser by putting them at the end of parameter list:

go-reload --browser chromium -- --user-data-dir=/tmp/chromiumreload/

LICENSE

MIT

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

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