How to use the task function from gulp-shell

Find comprehensive JavaScript gulp-shell.task code examples handpicked from public code repositorys.

668
669
670
671
672
673
674
675
676
677
678
679
});


/**
 * Startup mongodb on local host for development.
 */
gulp.task('mongo-develop', shell.task([
    'mongod'
]));



fork icon7
star icon2
watch icon1

+ 9 other calls in file

331
332
333
334
335
336
337
338
339
}
gulp.task("actless:ts:watch", watchTS);

// webpack ===================================================

const runWebpack = shell.task(["npx webpack --mode production"]);
gulp.task("actless:webpack", runWebpack);
const watchWebpack = shell.task(["npx webpack --mode production -w"]);
gulp.task("actless:webpack:watch", watchWebpack);
fork icon0
star icon0
watch icon1

+ 24 other calls in file

72
73
74
75
76
77
78
79
80
81
82
83
      gzip: true
    }))
    .pipe(gulp.dest('./build/css'));
});


gulp.task('set-ulimit', shell.task([
  'ulimit -n 10240'
]));


gulp.task('test', function () {
fork icon0
star icon0
watch icon1

+ 4 other calls in file

16
17
18
19
20
21
22
23
24
25
26
const templatePath = "./templates";
const destFolder = "./";


gulp.task(
  "sass-to-css",
  shell.task([
    //'node-sass --include-path scss scss/tutorial.scss css/tutorial.css'
    "node-sass scss -o css",
  ])
);
fork icon0
star icon0
watch icon1

+ 4 other calls in file