Connect/express middelware for serving front-end applications with
browserify. Install via npm
:
npm install connect-browserify
Basic usage is as follows:
var express = ;var browserify = ; app = ;app; app;
This middleware will start watching directory of entry file for changes and rebuild bundle accordingly and caching the result for future requests.
You should never use this middleware in production — use nginx for serving pre-built bundles to a browser.