How to use the start function from gulp

Find comprehensive JavaScript gulp.start code examples handpicked from public code repositorys.

176
177
178
179
180
181
182
183
184
  // create dist directories
  fs.mkdirSync('dist')
  fs.mkdirSync('dist/maps')

  // run the tasks
  gulp.start('html', 'sass', 'js', 'images', 'fonts', 'videos', 'favicon')
})

gulp.task('default', ['build', 'server', 'watch'])
fork icon209
star icon0
watch icon73

101
102
103
104
105
106
107
108
109
110


////////////////////// GLOBAL BUILD TASK //////////////////////


gulp.task('build', ['ts'], function(){
  // we can use the buildProduction environment variable here later.
  gulp.start('bower');
  gulp.start('sassBuild');
});
fork icon0
star icon0
watch icon0

154
155
156
157
158
159
160
161
162
163
164
    'fonts:build'
]);


gulp.task('watch', function(){
    watch([path.watch.html], function(event, cb) {
        gulp.start('html:build');
    });
    watch([path.watch.style], function(event, cb) {
        gulp.start('style:build');
    });
fork icon0
star icon0
watch icon0

+ 9 other calls in file

171
172
173
174
175
176
177
178
179
180
181
182
183


    });




gulp.task('scripts', function() {
    gulp.start('tabulator');
    gulp.start('core');
    gulp.start('modules');
    gulp.start('jquery');
    });
fork icon0
star icon0
watch icon0

+ 4 other calls in file