gulpfile.js設定(browserSync)

var gulp        = require('gulp');
var browserSync = require('browser-sync').create();
var reload = browserSync.reload;

gulp.task('serve', function(){
	browserSync.init({
		server: {
			baseDir: "src"
		}
	});

	gulp.watch("src/**", reload);
});



gulp.task('default', ['serve']);