Описание тега gulp-connect
NoneGulp integration with web server (starts webserver)
Starts web server from gulp for manual testing with "live reload" support or for test automation.
gulp.task('automation-tests', function() {
// start server
connect.server({
port: 8000
});
// run tests
// ...
// stop server
connect.serverClose();
});