diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index 18e3edc14..9bdee7124 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -305,7 +305,7 @@ gulp.task("watch", gulp.series("dev:dirs", "build", "watch:main")); ***********************************************/ gulp.task("dist:clean", function(next) { - rimraf(paths.dist, next); + rimraf(paths.dist).finally(next); }); gulp.task("dist:copy", function() {