0034283601
Adds boilerplate files from `angularjs-gulp-browserify-boilerplate` to start work on Angular rewrite of the frontend. Change-Id: I54392c24f397496582f9d06d561d5c14a92ccbe6
16 lines
416 B
JavaScript
16 lines
416 B
JavaScript
'use strict';
|
|
|
|
var config = require('../config');
|
|
var changed = require('gulp-changed');
|
|
var gulp = require('gulp');
|
|
var browserSync = require('browser-sync');
|
|
|
|
gulp.task('fonts', function() {
|
|
|
|
return gulp.src(config.fonts.src)
|
|
.pipe(changed(config.fonts.dest)) // Ignore unchanged files
|
|
.pipe(gulp.dest(config.fonts.dest))
|
|
.pipe(browserSync.reload({ stream: true, once: true }));
|
|
|
|
});
|