0.0.1 • Published 10 years ago

metalsmith-server-watch v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
10 years ago

metalsmith-server-watch

A Metalsmith plugin that serves through a static file server the freshest build

Installation

$ npm install metalsmith-server-watch

Usage

var Metalsmith = require('metalsmith');
var watch = require('metalsmith-server-watch');

var metalsmith = new Metalsmith(__dirname)
  .use(watch({
    pattern: '**/*', // pattern of files to watch
    port: 8000 // server port
  }));

License

MIT