0.0.6 • Published 7 years ago

docker-development-node-runner v0.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Docker development node runner

An opinionated helper script for running a node app in a container during development.

CircleCI

Features

  • Builds app and runs it
  • When files change the app is killed, rebuilt and restarted
  • If the app crashes the error is displayed and restarted when files change again
  • To speed up expensive processes (e.g. preprocessing) app source code is copied from docker volume to local docker fs when files change

Requirements

NodeJS 6+

Usage

Apps expose functionality via package.json's scripts key:

  • build: runs before the app is started and restarted
  • start: starts the app