stackviz/gulp/tasks/browserSync.js
Tim Buckley 0034283601 Add initial Angular boilerplate files.
Adds boilerplate files from `angularjs-gulp-browserify-boilerplate`
to start work on Angular rewrite of the frontend.

Change-Id: I54392c24f397496582f9d06d561d5c14a92ccbe6
2015-09-25 16:26:44 -06:00

18 lines
314 B
JavaScript

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