当前位置:网站首页>Getting Started Document 09 Standalone watch
Getting Started Document 09 Standalone watch
2022-08-05 06:09:00 【dongsdh】
series(
....
)
Export requires series
series also needs to be used when the watch is listening
Extract the series for ->export and monitor
const { src, dest, series, watch, parallel } = require("gulp");function clean(cb) {console.log('Clean up time'+new Date());cb()}function js(cb) {console.log('processing js');cb();}function css(cb) {console.log('processing css');cb();}function img(cb) {console.log('processing img');cb();}function build(cb) {console.log('Packaging');cb();}const Run = series(clean, js, img, css, build)watch(['./src/'], Run);exports.default = Run;
Monitor every time the content of the task is modified
边栏推荐
猜你喜欢
随机推荐
账号与权限管理
[Pytorch study notes] 8. How to use WeightedRandomSampler (weight sampler) when the training category is unbalanced data
[Paper Intensive Reading] Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation (R-CNN)
【Day8】使用LVM扩容所涉及的命令
vim的三种模式
调用TensorFlow Objection Detection API进行目标检测并将检测结果保存至本地
Getting Started Document 01 series in order
每日一题-删除链表的倒数第 N 个结点-0718
Apache配置反向代理
每日一题-盛最多水的容器-0716
每日一题-DFS
Hard Disk Partitioning and Permanent Mounting
成功的独立开发者应对失败&冒名顶替综
IJCAI 2022|Boundary-Guided Camouflage Object Detection Model BGNet
每日一题-正则表达式匹配-0715
每日一题-有效的括号-0719
dsf5.0 弹框点确定没有返回值的问题
每日一题-三数之和-0716(2)
如何使用Houdini进行程序化优化?
huatuo 革命性热更新解决方案系列1·1 为什么这么NB?huatuo革命Unity热更新






![[Day8] (Super detailed steps) Use LVM to expand capacity](/img/ff/d4f06d8b30148496da64360268cf1b.png)


