By default, this will use
express.static to serve your
metalsmith built files. It also
connect-livereload which works well in conjunction with
metalsmith-watch for development purposes.
connect-livereload see options below.
var metalsmith = ;var watch = ;var metalsmithExpress = ;;
You may use
express middleware by pushing it onto the
middleware option array. Currently only the
use(function(req,res,next)) convention is supported.
var middleware = ;middleware;var metalsmithExpress =middleware: middleware;
- Allow for any valid middleware pattern