add workaround for gulp4 not updating file timestamps on build
This commit is contained in:
parent
6d8f2221b8
commit
b4cbc792cc
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"eslint": "^7.9.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-less": "^4.0.1",
|
||||
"gulp-touch-fd": "^2.0.0",
|
||||
"less": "^3.12.2"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue