hotreload

package
v0.0.73 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FileSyncPort = 50000
)

Variables

View Source
var (
	ControllerPkg = schema.MakePackageSingleRef("namespacelabs.dev/foundation/std/development/filesync/controller")
)

Functions

func NewHotReloadModule

func NewHotReloadModule(module *pkggraph.Module, sink wsremote.Sink, triggerFullRebuildPredicate func(filepath string) bool) build.Workspace

If "triggerFullRebuildPredicate" returns true, a full rebuild will be triggered instead of a hot reload.

Types

type FileSyncDevObserver

type FileSyncDevObserver struct {
	// contains filtered or unexported fields
}

func (*FileSyncDevObserver) Close

func (do *FileSyncDevObserver) Close() error

func (*FileSyncDevObserver) Deposit

func (*FileSyncDevObserver) OnDeployment

func (do *FileSyncDevObserver) OnDeployment(ctx context.Context)

Jump to

Keyboard shortcuts

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