css - 在运行 gulp watch 时,我的 vs 代码终端在启动“watch”时停止
问题描述
var gulp = require("gulp");
var autoprefixer = require("gulp-autoprefixer");
gulp.task("style", function () {
return gulp.src("./style.css").pipe(autoprefixer()).pipe(gulp.dest("build"));
});
gulp.task("watch", function () {
gulp.watch("./style.css", gulp.series("style"));
});
解决方案
推荐阅读
- r - 我可以在ggplot2中用水平线跨越类别组吗
- excel - 在 Excel VBA 中删除用户表单并添加新用户表单
- python - 顶部分布大小直方图的箱线图(和中值回归)
- r - blogdown - 我如何指定帖子将出现在哪个页面上
- android - React Native:com.android.ide.common.process.ProcessException:无法执行 aapt
- ssh - 使用一个命令从我的本地计算机按顺序通过 SSH 连接到多个主机
- angular - Angular:错误错误:ExpressionChangedAfterItHasBeenCheckedError:表达式在检查后已更改
- python - 如何在通过 askopenfilename 插入的标签框中显示图像?
- robotframework - 在 Mac 上为 Robot Framework 导入 Selenium 库
- ios - Travis-CI 在我的项目中使用 xcodebuild 构建/链接问题