gulp.task('default', ['build'], () => gulp.start('watch'))
gulp.task('default', ['clean'], function() { gulp.start('css', 'js', 'image', 'html','lib'); });
gulp.task('default',['watch'], function(){ gulp.start('styles'); });
watch([path.watch.bower], function(event, cb) { gulp.start('html:build'); });
gulp.task("default", ["clean"], function () { gulp.start("concat"); });
gulp.task('build', ['clean:data'], function () { gulp.start('markdown-meta','markdown-posts'); });
watch([path.watch.js], function(event, cb) { gulp.start('js:build'); });
gulp.task('default', function() { gulp.start('testHtmlmin','testCssmin','jshint','minifyjs','imagemin'); });
}).on('all', function(event, path) { watcherLog(event, path); // You could start many tasks gulp.start(/* Task name (String) to start */); });
gulp.task('watch', function(){ gulp.start('watch:server'); gulp.start('watch:client'); });
gulp.task('build', ['clean'], function () { gulp.start('prod'); });
gulp.task('default', ['clean'], () => { gulp.start('build'); });
) gulp.task ( 'client', [ 'client:js', 'client:css' ] ); gulp.task ( 'server', [ 'client' ], function () { nodemon ( { script: join ( ROOT_DIR, 'bin/start.js' ), ext: 'js json', verbose: true, ignore: [ 'client/*', 'client-ts/*', 'man/*', 'test/*', 'node_modules/*' ], start: true } ) nodemon.on ( 'start', function () { console.log ( 'server started' ); livereload.listen ( { basePath: 'srv' } ) } ).on ( 'quit', function () { console.log ( 'server quit' ); } ).on ( 'restart', function ( files ) { console.log ( 'server restarted due to: ', files ); } ); } ) gulp.task ( 'default', [ 'client', 'server' ] ) gulp.start ()
gulp.task('watch', ['build'], function () { gulp.watch(['src/client/**/*.*'], ['build-client', 'move-client']); gulp.watch(['src/server/*.*', 'src/server/**/*.js'], ['build-server']); gulp.start('run-only'); });
gulp.task('default', ['clean', 'css', 'js', 'images', 'html', 'auto'], function() { gulp.start('css', 'js', 'images'); });
gulp.task('default', ['clean'], function() { gulp.start('styles', 'scripts', 'images'); });
watch('./src/**/*', function () { gulp.start('markdown-meta','markdown-posts'); });
gulp.task('default', ['clean'], function () { gulp.start('usemin', 'imagemin', 'copyfonts'); });
watch([path.watch.style], function(event, cb) { gulp.start('style:build'); });
gulp.task('bump', ['update-version-manifests', 'update-version-config'], function () { gulp.start('update-version-comments') })
watch([path.watch.img], function(event, cb) { gulp.start('image:build'); });
gulp.watch(["public/javascripts/**/*", "public/templates/**/*"], function() { gulp.start("dev_js"); });
gulp.task('dev', ['build'], function(){ gulp.start('watch'); });
gulp.task('default', function() { gulp.start('shaders','scripts', 'clean'); });
gulp.task('default', ['clean'], function () { gulp.start('build'); });
gulp.task('typescript', ['typescript-to-js', 'typescript-declaration'], function() { gulp.start('shaders','scripts', 'clean'); });
.on('change', function(event) { gulp.start('reload'); });
gulp.task('build', ['clean', 'css', 'js', 'images', 'html'], function() { gulp.start('css', 'js', 'images'); });
.pipe(watch(glob, function() { gulp.start(task); }));
gulp.task('production', function () { env.isProduction = true; gulp.start(['build:fe', 'build:be']); });