broccoli-live-server
v1.0.4
Published
Live Server plugin for Broccoli projects
Downloads
3
Maintainers
Readme
broccoli-live-server
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.