0.2.3 • Published 8 years ago

gulp-core-build-serve v0.2.3

Weekly downloads
17
License
MIT
Repository
-
Last release
8 years ago

gulp-core-build-serve npm version

Build Status Dependencies

gulp-core-build-serve is a plugin for gulp-core-build which introduces the ability to serve files from a directory using gulp-connect and express.

Tasks

ServeTask

Description

Config

interface IServeTaskConfig {
  api?: {
    port: number,
    entryPath: string
  };
  initialPage: string;
  port: number;
}

Usage (and defaults):

let build = require('gulp-core-build');
let serve = require('gulp-core-build-serve');

build.task('serve', serve);

serve.setConfig({
    api: null,
    initialPage: '/index.html',
    port: 4321
  }
);
0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago