Ensuring that we can use the gulp watcher and that fonts are copied over to the tmp dir
This commit is contained in:
parent
f660450043
commit
6a18b01e4e
|
@ -38,7 +38,7 @@ function browserSyncInit(baseDir, files, browser) {
|
||||||
gulp.task('serve', ['watch'], function () {
|
gulp.task('serve', ['watch'], function () {
|
||||||
browserSyncInit([
|
browserSyncInit([
|
||||||
'.tmp',
|
'.tmp',
|
||||||
'app'
|
'lemur/static/app'
|
||||||
], [
|
], [
|
||||||
'.tmp/*.html',
|
'.tmp/*.html',
|
||||||
'.tmp/styles/**/*.css',
|
'.tmp/styles/**/*.css',
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
var gulp = require('gulp');
|
var gulp = require('gulp');
|
||||||
|
|
||||||
|
|
||||||
gulp.task('watch', ['dev:styles', 'dev:scripts', 'dev:inject'] ,function () {
|
gulp.task('watch', ['dev:styles', 'dev:scripts', 'dev:inject', 'dev:fonts'] ,function () {
|
||||||
gulp.watch('app/styles/**/*.less', ['dev:styles']);
|
gulp.watch('app/styles/**/*.less', ['dev:styles']);
|
||||||
gulp.watch('app/styles/**/*.css', ['dev:styles']);
|
gulp.watch('app/styles/**/*.css', ['dev:styles']);
|
||||||
gulp.watch('app/**/*.js', ['dev:scripts']);
|
gulp.watch('app/**/*.js', ['dev:scripts']);
|
||||||
|
|
Loading…
Reference in New Issue