doitlive

Wrap a hapi plugin in a pack and start the server

Usage no npm install needed!

<script type="module">
  import doitlive from 'https://cdn.skypack.dev/doitlive';
</script>

README

CLI to wrap a hapi plugin in a pack and start the server.

Build Status

Getting Started

  1. Install doitlive globally with:npm install -g doitlive

  2. Inside of a plugin folder for hapi run doitlive

Options

By default dotitlive starts on the first available port. However, you can override this to start the server on a specific port. To do this pass as the first argument the port number to start on. For example:

$ doitlive 8080
Server started
port: 8080
plugin: tv