我正在做gulpfile更新我的站点的CSS,这是错误,我该怎么办? 代码:
var
clean = require("del")
gulp = require("gulp"),
livereload = require("gulp-livereload");
gulp.task("reload-css", function() {
gulp.src('./src/*.css')
.pipe(reload-css())
.pipe(gulp.dest('css'))
.pipe(livereload());
});
gulp.task("default", function() {
gulp.task('watch', function() {
livereload.listen();
gulp.watch('./src/*.css', ['reload-css'])});
});
使用gulpfile D:\ DenverServer \ home \ test1.ru \ www \ gulpfile.js
[23:03:53] Starting 'default'...
[23:03:53] The following tasks did not complete: default
[23:03:53] Did you forget to signal async completion?
答案 0 :(得分:0)
@MrDemmy感谢您提供软件包版本。
您可以尝试使用此方法(一种有希望的回报方法)
barChart.data = data
barChart.setDescriptionTextSize(10f)
barChart.setValueTextSize(10f)
barChart.yLabels.textSize=10f
barChart.invalidate()
有关更多信息:::> Gulp error: The following tasks did not complete: Did you forget to signal async completion?