npmstart

package module
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Node        = "node"
	NodeModules = "node_modules"
	Npm         = "npm"
)
View Source
const NoStartScriptError = "no start script in package.json"
View Source
const StartupScript = `trap 'kill -TERM $CPID' TERM
trap 'kill -INT $CPID' INT
( %s ) &
CPID="$!"
wait $CPID
trap - TERM INT
wait $CPID
`

Variables

This section is empty.

Functions

func Build

func Build(logger scribe.Emitter, reloader Reloader) packit.BuildFunc

func Detect

func Detect(reloader Reloader) packit.DetectFunc

Types

type Reloader

type Reloader libreload.Reloader

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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