metalsmith-server-watch

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i metalsmith-server-watch

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • frank06