From 1e463c2d3a5e86b0312d0796c795bd5d44e9b1a7 Mon Sep 17 00:00:00 2001 From: Pablo Marco del Pont Date: Mon, 29 Oct 2018 13:03:50 -0300 Subject: [PATCH] =?UTF-8?q?-=20Apliqu=C3=A9=20cambios=20de=20estilo=20para?= =?UTF-8?q?=20achicar=20elementos.=20-=20A=C3=B1ad=C3=AD=20tareas=20clean?= =?UTF-8?q?=20y=20watch=20al=20gulp.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.js | 13 +++++++++-- src/views/modal-busqueda-productos.html | 38 ++++++++++++++++----------------- 2 files changed, 30 insertions(+), 21 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 300e9b9..882c027 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), @@ -74,4 +79,8 @@ gulp.task('clean-post-install', function(){ .pipe(clean()); }); -gulp.task('default', ['webserver']); \ No newline at end of file +gulp.task('default', ['webserver']); + +gulp.task('watch', function() { + gulp.watch([paths.srcJS, paths.srcViews], ['uglify']) +}); diff --git a/src/views/modal-busqueda-productos.html b/src/views/modal-busqueda-productos.html index de40080..b95c749 100644 --- a/src/views/modal-busqueda-productos.html +++ b/src/views/modal-busqueda-productos.html @@ -1,14 +1,14 @@ -