Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mcap-serve

mwaylabs14None0.1.1

Runs a local webserver with livereload.

readme

mcap-serve

Runs a local webserver with livereload.

Install

$ npm install mcap-serve

Usage

var mcapServe = require('./lib/mcap-serve');
mcapServe({
    root: './example/TestApp/client',
    enableLivereload: true,
    port:9200,
    endpoint: 'http://localhost:8079/mway/appTest/api'
});

Example

node example/run.js
open http://localhost:9200/