diff --git a/gulpfile.helper.js b/gulpfile.helper.js index 745325a8..4dacee80 100644 --- a/gulpfile.helper.js +++ b/gulpfile.helper.js @@ -100,7 +100,10 @@ module.exports = function (gulp, helperOptions) { message: 'What type of bump would you like to do?', choices: ['patch', 'minor', 'major'] }, function (res) { - bumptype = res.bump + if (res.bump.length === 0) { + console.info('You have to select a bump type. Now I\'m going to use "patch" as bump type..') + } + bumptype = res.bump[0] })) .pipe($.bump({type: bumptype})) .pipe(gulp.dest('./')) @@ -143,7 +146,7 @@ module.exports = function (gulp, helperOptions) { gulp.task('dev:browser', ['watch:build'], function () { return gulp.src(files.test) - .pipe($.watch(['build/**/*.js'])) + .pipe($.watch(['build/**/*'])) .pipe($.jasmineBrowser.specRunner()) .pipe($.jasmineBrowser.server({port: options.testport})) }) diff --git a/package.json b/package.json index 05d12ed9..137134ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yjs", - "version": "0.6.33", + "version": "0.6.35", "description": "A framework for real-time p2p shared editing on arbitrary complex data types", "main": "y.js", "scripts": {