lazy-start

v0.1.3
Lazily start a web server the first time it is requested

lazy-start

npm version GitHub top language GitHub contributors License PRs Welcome

A lightweight CLI to lazily start or delay a web server the first time it is requested.

Installation

npm install --save-dev lazy-start
# or
yarn add -D lazy-start

Usage

lazy-start yarn start
lazy-start -p 3000 react-scripts start
NODE_ENV=test lazy-start -t 120 cpu-intensive.sh
lazy-start -t $(shuf -i 60-300 -n 1) run-in-random-between-1-and-5-minutes.py
DISABLE_LAZY_START=true lazy-start run-immediate

Author

Kmaschta
Kmaschta

License

lazy-start is licensed under the MIT License, courtesy of Marmelab.

npm i lazy-start

Metadata

  • MIT
  • Whatever
  • Kévin Maschtaler
  • released 9/25/2019

Downloads

Maintainers