From e6339c992fd3979a8c1ac1c322b6c42a91a32c97 Mon Sep 17 00:00:00 2001 From: Pablo Marco del Pont Date: Mon, 29 Oct 2018 14:11:18 -0300 Subject: [PATCH] =?UTF-8?q?-=20Modifiqu=C3=A9=20los=20estilos=20para=20ach?= =?UTF-8?q?icar=20los=20elementos.=20-=20Agregu=C3=A9=20tareas=20clean=20y?= =?UTF-8?q?=20watch=20al=20gulp.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.js | 11 ++++++++++- src/views/modal-moneda.html | 16 ++++++++-------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index d88fd84..3676ce9 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -17,7 +17,12 @@ var paths = { dist: 'dist/' }; -gulp.task('templates', function() { +gulp.task('clean', function() { + return gulp.src(['tmp', 'dist'], {read: false}) + .pipe(clean()); +}); + +gulp.task('templates', ['clean'], function() { return pump( [ gulp.src(paths.srcViews), @@ -73,3 +78,7 @@ gulp.task('clean-post-install', function(){ }); gulp.task('default', ['webserver']); + +gulp.task('watch', function() { + gulp.watch([paths.srcJS, paths.srcViews], ['uglify']); +}); diff --git a/src/views/modal-moneda.html b/src/views/modal-moneda.html index 5683eca..652fb24 100644 --- a/src/views/modal-moneda.html +++ b/src/views/modal-moneda.html @@ -1,11 +1,11 @@ -