koa-watchify
Wraps a browserify or watchify instance into a koa middleware.
Installation
$ npm install koa-watchify
Usage
const wreq = const watchify = const path = const koa = const app = var bundle = if 'development' == processenvNODE_ENV bundle = appapp
Why?
Setting up boilerplate for browserify
/ watchify
can be a bit annoying. This
module provides a good entry point for both development and production servers
running koa
and browserify
. No gulp
, grunt
or make
needed.