opensupports/gulp/tasks/browserSync.js

13 lines
243 B
JavaScript

'use strict';
var config = require('../config');
var browserSync = require('browser-sync');
var gulp = require('gulp');
gulp.task('browserSync', function() {
browserSync({
proxy: 'localhost:' + config.serverport
});
});