官术网_书友最值得收藏!

Understanding the gulpfile

In the gulpfile, we are performing the following instructions:

  1. Import Gulp and Gulp-shell.
  2. Create tasks with shell.task as the function to execute.
  3. shell.task can execute a command-line instruction. Keep your shell commands inside that function.
  4. Add a watch task for watching source files. The task list will be executed when files are modified.
  5. Create a default task for running. Add a watch to it.

Gulp is a great tool for these kinds of use cases. So, please go through the official documentation of Gulp at http://gulpjs.com/.

主站蜘蛛池模板: 旌德县| 敖汉旗| 花莲县| 萝北县| 清原| 远安县| 遵义市| 维西| 桐柏县| 贡觉县| 石楼县| 万载县| 北碚区| 墨玉县| 泰兴市| 华容县| 柏乡县| 济源市| 蕉岭县| 瓮安县| 贵港市| 宜章县| 日喀则市| 盱眙县| 义乌市| 包头市| 加查县| 巴东县| 吉林市| 轮台县| 梧州市| 嵊州市| 彭水| 马关县| 夏津县| 桑日县| 天等县| 湄潭县| 子长县| 永顺县| 双鸭山市|