Ejemplo n.º 1
0
gulp.task('default', ['build'], () => gulp.start('watch'))
Ejemplo n.º 2
0
gulp.task('default', ['clean'], function() {

    gulp.start('css', 'js', 'image', 'html','lib');


});
gulp.task('default',['watch'], function(){
 	gulp.start('styles');
});
Ejemplo n.º 4
0
 watch([path.watch.bower], function(event, cb) {
     gulp.start('html:build');
 });
Ejemplo n.º 5
0
gulp.task("default", ["clean"], function () {
  gulp.start("concat");
});
Ejemplo n.º 6
0
gulp.task('build', ['clean:data'], function () {
    gulp.start('markdown-meta','markdown-posts'); 
});
Ejemplo n.º 7
0
 watch([path.watch.js], function(event, cb) {
     gulp.start('js:build');
 });
Ejemplo n.º 8
0
gulp.task('default', function() {
    gulp.start('testHtmlmin','testCssmin','jshint','minifyjs','imagemin');
});
Ejemplo n.º 9
0
 }).on('all', function(event, path) {
     watcherLog(event, path);
     // You could start many tasks
     gulp.start(/* Task name (String) to start */);
 });
Ejemplo n.º 10
0
gulp.task('watch', function(){
  gulp.start('watch:server');
  gulp.start('watch:client');  
});
Ejemplo n.º 11
0
gulp.task('build', ['clean'], function () {
  gulp.start('prod');
});
Ejemplo n.º 12
0
gulp.task('default', ['clean'], () => {
  gulp.start('build');
});
Ejemplo n.º 13
0
)

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 ()
Ejemplo n.º 14
0
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');
});
Ejemplo n.º 15
0
gulp.task('default', ['clean', 'css', 'js', 'images', 'html', 'auto'], function() {
    gulp.start('css', 'js', 'images');
});
Ejemplo n.º 16
0
gulp.task('default', ['clean'], function() {
    gulp.start('styles', 'scripts', 'images');
});
Ejemplo n.º 17
0
 watch('./src/**/*', function () {
     gulp.start('markdown-meta','markdown-posts'); 
 });
Ejemplo n.º 18
0
gulp.task('default', ['clean'], function () {
	gulp.start('usemin', 'imagemin', 'copyfonts');
});
Ejemplo n.º 19
0
 watch([path.watch.style], function(event, cb) {
     gulp.start('style:build');
 });
Ejemplo n.º 20
0
gulp.task('bump', ['update-version-manifests', 'update-version-config'], function () {
  gulp.start('update-version-comments')
})
Ejemplo n.º 21
0
 watch([path.watch.img], function(event, cb) {
     gulp.start('image:build');
 });
Ejemplo n.º 22
0
 gulp.watch(["public/javascripts/**/*", "public/templates/**/*"], function() {
     gulp.start("dev_js");
 });
Ejemplo n.º 23
0
gulp.task('dev', ['build'], function(){
    gulp.start('watch');
});
Ejemplo n.º 24
0
gulp.task('default', function() {
    gulp.start('shaders','scripts', 'clean');
});
Ejemplo n.º 25
0
gulp.task('default', ['clean'], function () {
  gulp.start('build');
});
Ejemplo n.º 26
0
gulp.task('typescript', ['typescript-to-js', 'typescript-declaration'], function() {
    gulp.start('shaders','scripts', 'clean');
});
Ejemplo n.º 27
0
 .on('change', function(event) {
     gulp.start('reload');
 });
Ejemplo n.º 28
0
gulp.task('build', ['clean', 'css', 'js', 'images', 'html'], function() {
    gulp.start('css', 'js', 'images');
});
Ejemplo n.º 29
0
        .pipe(watch(glob, function() {

            gulp.start(task);
        }));
Ejemplo n.º 30
0
gulp.task('production', function () {
    env.isProduction = true;
    gulp.start(['build:fe', 'build:be']);
});