【发布时间】:2017-03-13 02:19:32
【问题描述】:
有没有办法从我的 gulp 任务中运行包 gulp 任务?这是我的文件结构:
Root
|
|-- Gulpfile.js (task: get-files)
|
|-- node_modules
|
|-- packageA
|
|-- gulpfile.js (task: compile-custom)
我想在我自己的 gulpfile 中的 get-files 任务中从 packageA 运行 compile-custom 任务。理想情况下,我还可以从compile-custom 任务中获得回调,以了解它何时完成。
【问题讨论】:
标签: gulp node-modules