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 @@ -