Skip to content

Commit

Permalink
Revert "Update gulpfile"
Browse files Browse the repository at this point in the history
This reverts commit 97bef09.
  • Loading branch information
Nix1983 committed Feb 29, 2024
1 parent 4ac7cd1 commit e2987ca
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,11 @@ gulp.task('minify-css', () => {
.pipe(gulp.dest('wwwroot/css'));
});

// Beobachtet Änderungen in JS und CSS Dateien
gulp.task('watch', () => {
gulp.watch('wwwroot/js/**/*.js', gulp.series('minify-js'));
gulp.watch('wwwroot/css/**/*.css', gulp.series('minify-css'));
});

// Standardtask, der Minimierungsaufgaben und Watcher startet
gulp.task('default', gulp.series(['minify-js', 'minify-css', 'watch']));

0 comments on commit e2987ca

Please sign in to comment.