jackfranklin / gulp-load-plugins

Automatically load in gulp plugins
https://github.com/jackfranklin/gulp-load-plugins
MIT License
757 stars 55 forks source link

How to change the port of livereload ? #98

Closed Erichain closed 8 years ago

Erichain commented 8 years ago

If I have multiple apps started at the same time, aren't they conflicted ?

var gulp = require('gulp');
var plugins = require("gulp-load-plugins")();

gulp.task('connect', plugins.connect.server({
    root: ['build'],
    port: 9000,
    livereload: true,
    open: true
}));

Now I just know how to set options above. The port of livereload is 35729. So how to change the port of livereload ?

callumacrae commented 8 years ago

This isn't an issue with gulp-load-plugins, if anything it is an issue with gulp-connect.

gulp-connect is blacklisted. Just use connect directly.

jackfranklin commented 8 years ago

Yup, as @callumacrae this isn't a specific issue to this project, closing.