kaminaly / gulp-sync

28 stars 6 forks source link

how to run a task after sync completes #2

Open ralyodio opened 10 years ago

ralyodio commented 10 years ago
//build app into ./dist directory
gulp.task('build:dist', gulpsync.sync([
  'clean:dist',
  'build:less',
  'copy:dist'
]));

I want to run a task after copy:dist completes.

kaminaly commented 10 years ago
//build app into ./dist directory
gulp.task('build:dist', gulpsync.sync([
  'clean:dist',
  'build:less',
  'copy:dist',
  'some:task'
]));

Is this not work?