From 0595b7f10c83df5abbc042dda9c46906e4e62a94 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Wed, 4 Nov 2015 17:48:10 +0100 Subject: [PATCH] fixed copy:dist --- gulpfile.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 28e1f5f..4ddcc2c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -173,12 +173,11 @@ gulp.task('dev', ['build:test'], function () { gulp.task('copy:dist', ['deploy:build'], function () { return gulp.src(['./dist/y-webrtc.js', './dist/y-webrtc.js.map']) - .pipe(gulp.dest('./dist/Examples/bower_components/yjs/')) + .pipe(gulp.dest('../yjs/dist/Examples/bower_components/y-webrtc/')) }) gulp.task('dev:examples', ['copy:dist'], function () { - gulp.watch('src/**/*.js', ['copy:dist']) - return $.serve('dist/Examples')() + return gulp.watch('src/**/*.js', ['copy:dist']) }) gulp.task('test', ['build:test'], function () {