gulp-phpWebserver
v1.0.4
Published
php webserver
Downloads
8
Readme
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
Key | Type | Default | Description|
--- | --- | --- | --- |
config
| String | gulp-webserver-config
| The configuration file
port
| Number | 8000
| port of the webserver
open
| Boolean/String | index.php
| open 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/
) .
https
| Boolean/Object | false
| whether to use https or not. By default,