reload

package
v0.0.0-...-c745092 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reload

type Reload struct {
	FinishedRunning chan bool
	// contains filtered or unexported fields
}

Reload recompiles the build and restarts the binary

func NewReload

func NewReload(cfg *configuration.Configuration) *Reload

NewReload creates a new Reload with the config provided

func (*Reload) BuildCleanup

func (r *Reload) BuildCleanup()

BuildCleanup stops the build

func (*Reload) Cleanup

func (r *Reload) Cleanup()

Cleanup stops the current build and the run

func (*Reload) Run

func (r *Reload) Run()

Run cleans up and starts the new build

func (*Reload) RunCleanup

func (r *Reload) RunCleanup()

RunCleanup stops the run

Jump to

Keyboard shortcuts

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