Automate your workflow with Gulp: part 3 - live reloading



Abiola Adele Since Aug 17, 2017 2 Posts

Thanks for the Tutorial. Needs a little adjustment.

NB::: 1) The PHP port and the proxy Port are the same 2) browserSync port must be Different the PHP Port as shown bellow..

gulp.task('php', function () { connect.server({ base: "./public", hostname: "localhost", port: 5010 }); });

browserSync({ proxy: '127.0.0.1:5010', port: 5000 });

Abiola Adele Since Aug 17, 2017 2 Posts

Thanks for the Tutorial. Needs a little adjustment.

NB::: 1) The PHP port and the proxy Port are the same 2) browserSync port must be Different the PHP Port as shown bellow..

gulp.task('php', function () { connect.server({ base: "./public", hostname: "localhost", port: 5010 }); });

browserSync({ proxy: '127.0.0.1:5010', port: 5000 });