var gulp     = require('gulp');
var sequence = require('gulp-sequence');
var del      = require('del');
var bundler  = require('../lib');

gulp.task('default', sequence('clean', 'js:watch'));

gulp.task('clean', function () {
  return del('dist');
});

const src = 'index.js'

gulp.task('js', function () {
  return bundler(src);
});
gulp.task('js:watch', function () {
  return bundler(src);
});

@@ -23,17 +23,16 @@
 ('gulp')
-;
 %0Avar seq
@@ -63,17 +63,16 @@
 quence')
-;
 %0Avar del
@@ -93,17 +93,16 @@
 e('del')
-;
 %0Avar bun
@@ -126,17 +126,16 @@
 ../lib')
-;
 %0A%0Agulp.t
@@ -179,17 +179,60 @@
 watch'))
-;
+%0Agulp.task('build', sequence('clean', 'js'))
 %0A%0Agulp.t
@@ -278,21 +278,19 @@
 ('dist')
-;
 %0A%7D)
-;
 %0A%0Aconst 
@@ -296,16 +296,20 @@
  src = '
+src/
 index.js
@@ -362,21 +362,19 @@
 ler(src)
-;
 %0A%7D)
-;
 %0Agulp.ta
@@ -426,11 +426,24 @@
 (src
+, %7Bwatch: true%7D
 )
-;
 %0A%7D)
-;
 %0A

update adding build task