npm init npm install --save-dev gulp npm install --save-dev gulp-connect-php npm install --save-dev browser-sync var gulp = require('gulp'), connect = require('gulp-connect-php'), browserSync = require('browser-sync'); gulp.task('connect-sync', function() { connect.server({ port:8001, base:'www' }, function (){ browserSync({ proxy: 'localhost:8001' }); }); }); gulp.task('reload', function(){ brows