metalsmith-server-watch
v0.0.1
Published
A Metalsmith plugin that serves through a static file server the freshest build
Downloads
2
Readme
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