node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. 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/