hotreload

package
v0.0.125 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FileSyncPort      = 50000
	ControllerCommand = "/filesync-controller"
)

Variables

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

Functions

func NewDevModule added in v0.0.109

func NewDevModule(module build.Workspace, observeChanges, digestMode bool, opts integrations.HotReloadOpts, extraInputs ...compute.UntypedComputable) build.Workspace

Types

type FileSyncDevObserver

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

func (*FileSyncDevObserver) Close

func (do *FileSyncDevObserver) Close() error

func (*FileSyncDevObserver) Deposit

func (do *FileSyncDevObserver) Deposit(ctx context.Context, s *wsremote.Signature, events []*wscontents.FileEvent) (bool, error)

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