hickup

Restarts anything on a SIGHUP

Usage no npm install needed!

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

README

hickup

Tiny utility that wraps any command/process and reruns/restarts it when given a HUP signal. Its purpose is to aid in the construction of custom livereload-like workflows.

Usage

hickup [-t timeout] command [arguments]

Examples

$ hickup echo hick
hick
(HUP) hick
(HUP) hick
^C
$

This gist