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 @@ -
Cod. | Nombre | Vigencia | @@ -33,7 +33,7 @@
---|