broccoli-live-server

1.0.4 • Public • Published

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.

Package Sidebar

Install

npm i broccoli-live-server

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

6.82 kB

Total Files

5

Last publish

Collaborators

  • kuscamara