gloves

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Overview

package globes manages hot code reloading for the application it listen for changes in the application directory and restarts the application when a change is detected.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(path string, options ...Option) error

Starts the application and listen for changes.

Types

type Option

type Option func(*configuration)

func ExcludePaths

func ExcludePaths(paths ...string) Option

func WatchExtension

func WatchExtension(extensions ...string) Option

WatchExtension sets the extensions to watch for changes.

func WithRunner

func WithRunner(fn func()) Option

Jump to

Keyboard shortcuts

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