1.0.4 • Published 6 years ago

gulp-phpWebserver v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

gulp-phpWebserver

Installation

npm install gulp-phpWebserver

Basic Usage

var gulp = require('gulp');
var phpWebserver = require('gulp-phpWebserver');

gulp.task('phpWebserver', function () {
    gulp.src('app')
    .pipe(phpWebserver({
        port: 8848
    }));
});

Options

KeyTypeDefaultDescription
configStringgulp-webserver-configThe configuration file
portNumber8000port of the webserver
openBoolean/Stringindex.phpopen the localhost server in the browser. By providing a String you can specify the path to open (for complete path, use the complete url http://my-server:8080/public/) .
httpsBoolean/Objectfalsewhether to use https or not. By default,