@cfware/gulp-serve
v0.2.1
Published
Basic HTTP connect gulp task
Downloads
5
Readme
@cfware/gulp-serve
Basic HTTP connect gulp task.
Install @cfware/gulp-serve
npm i --save-dev @cfware/gulp-serve
Usage
'use strict';
const gulp = require('gulp');
const gulpServe = require('@cfware/gulp-serve');
gulp.task('serve', () => gulpServe({
ports: [8081, 0],
statics: {'/': 'test'},
redirects: {'/': '/my-app'},
}));
Running tests
The only test currently provided is eslint.
npm install
npm test