From 58be81a70ed3413caa1c507ad5973cf853ad67a4 Mon Sep 17 00:00:00 2001 From: Pablo Marco del Pont Date: Mon, 29 Oct 2018 12:41:51 -0300 Subject: [PATCH] =?UTF-8?q?-=20Apliqu=C3=A9=20cambios=20de=20estilo=20para?= =?UTF-8?q?=20achicar=20elementos.=20-=20A=C3=B1ad=C3=AD=20task=20watch.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.js | 11 +++++++++- src/views/modal-precio-condicion.html | 38 +++++++++++++++++------------------ 2 files changed, 29 insertions(+), 20 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index ded2f67..0e513b4 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-precio-condicion.html b/src/views/modal-precio-condicion.html index 164dc12..b44a974 100644 --- a/src/views/modal-precio-condicion.html +++ b/src/views/modal-precio-condicion.html @@ -1,14 +1,14 @@ -