node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

mcap-serve

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/