1.0.4 • Published 4 years ago

broccoli-live-server v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

broccoli-live-server

Build Status npm version Commitizen friendly semantic-release codecov Greenkeeper badge Dependency status

Starts a Live Server from a Broccoli tree.

Install

npm i -D broccoli-live-server

Usage

const LiveServer = require('broccoli-live-server');

const tree = funnel('src');
const server = new LiveServer(tree);

return mergeTrees([tree, server]);

API

LiveServer(tree, options)

options

Type: Object
Default:

{
  open: false,
  ignore: /.*\.map/
}

See Live Server options.

Note: the root option is set by the plugin to the input path.

License

This project is licensed under the MIT License.