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

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

主站蜘蛛池模板: 沅江市| 富顺县| 宾阳县| 广丰县| 吴忠市| 尤溪县| 洪雅县| 汽车| 泰和县| 黔江区| 平罗县| 建平县| 通许县| 江陵县| 古丈县| 新竹县| 伊吾县| 天气| 壶关县| 栾城县| 体育| 石柱| 河间市| 平泉县| 吉木乃县| 吉林市| 阜城县| 盐源县| 定边县| 兴义市| 封丘县| 太仆寺旗| 盐山县| 大新县| 晋江市| 扶风县| 沙洋县| 文安县| 周口市| 清河县| 梁山县|