summaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-04 15:30:28 +0300
committerAndrew Dolgov <[email protected]>2021-02-04 15:30:28 +0300
commitb4cbc792cc5fbbd5356f91038bf6cf5e67a19e42 (patch)
tree63f051b06fa7e2bb3c80ce7ad33558634a8b078b /gulpfile.js
parent6d8f2221b82b6a31becbeed8baf5e05ad9e053fe (diff)
add workaround for gulp4 not updating file timestamps on build
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js
index e04cc85d0..ca766dcce 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -1,6 +1,7 @@
// Less configuration
const gulp = require('gulp');
const less = require('gulp-less');
+const touch = require('gulp-touch-fd');
function swallowError(error) {
console.log(error.toString())
@@ -18,7 +19,7 @@ gulp.task('less', function(cb) {
gulp.dest(function(f) {
return f.base;
})
- );
+ ).pipe(touch());
cb();
});