diff --git a/dist b/dist index acfce069..dcf62124 160000 --- a/dist +++ b/dist @@ -1 +1 @@ -Subproject commit acfce069121920c349b2678b2e1b6d0f1a62b45b +Subproject commit dcf62124363cabd3665a2487b8cf18b23c655ba3 diff --git a/gulpfile.helper.js b/gulpfile.helper.js index 7925246a..b45e18ff 100644 --- a/gulpfile.helper.js +++ b/gulpfile.helper.js @@ -43,6 +43,10 @@ module.exports = function (gulp, helperOptions) { var source = require('vinyl-source-stream') var buffer = require('vinyl-buffer') + gulp.src(['./README.md']) + .pipe($.watch('./README.md')) + .pipe(gulp.dest('./dist/')) + return browserify({ entries: files.dist, debug: options.debug @@ -59,7 +63,7 @@ module.exports = function (gulp, helperOptions) { gulp.task('watch:dist', function (cb) { options.debug = true runSequence('dist', function () { - gulp.watch(files.src, ['dist']) + gulp.watch(files.src.concat('./README.md'), ['dist']) cb() }) })