Narcoleptic Pasta Manufacturer

    This package has been deprecated

    Author message:

    Use @microsoft/gulp-core-build-serve instead.

    gulp-core-build-serve
    TypeScript icon, indicating that this package has built-in type declarations

    0.2.3 • Public • Published

    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
      }
    );

    Keywords

    none

    Install

    npm i gulp-core-build-serve

    DownloadsWeekly Downloads

    42

    Version

    0.2.3

    License

    MIT

    Last publish

    Collaborators

    • dzearing