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

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/.

主站蜘蛛池模板: 赣州市| 定远县| 舒城县| 东宁县| 玉屏| 新余市| 调兵山市| 长子县| 达孜县| 亳州市| 陆川县| 三台县| 海林市| 航空| 新宁县| 大悟县| 广西| 桂东县| 昌黎县| 青岛市| 浑源县| 潞城市| 太白县| 张家口市| 方山县| 理塘县| 茌平县| 财经| 界首市| 上虞市| 顺昌县| 杨浦区| 玛沁县| 肇源县| 兴城市| 三台县| 吴江市| 安义县| 黑龙江省| 望谟县| 扶绥县|