Gulp-Connect-Php + browserSync + Gulp-Connect address in use issue
问题 I need an ability to use browserSync with php support and some specific url rewrites. I came up with browserSync with Gulp-Connect-Php packages plus Gulp-Connect + modrewrite. Here is my config: var browserSync = require('browser-sync'), phpconnect = require('gulp-connect-php'), connect = require('gulp-connect'), modrewrite = require('connect-modrewrite'), phpconnect.server({base:'dist/',port: 8010}, function (){ connect.server({ port: 8001, middleware: function() { return [ modrewrite([ '^