From 8d85ff13ff9d16b686aeef38cc2eeb45b199624d Mon Sep 17 00:00:00 2001 From: m-schuetz Date: Fri, 18 May 2018 13:01:12 +0200 Subject: [PATCH] fix build --- README.md | 3 ++- gulpfile.js | 7 +++---- src/Potree.js | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b04defc6..180fb79f 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,9 @@ Install all dependencies, as specified in package.json, then, install the gulp build tool: cd - npm install + npm install --save npm install -g gulp + npm install -g rollup Use the ```gulp watch``` command to diff --git a/gulpfile.js b/gulpfile.js index 3f70523a..8ba4ca78 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -400,16 +400,15 @@ gulp.task('icons_viewer', function() { }); -gulp.task('watch', function() { - gulp.run("build"); - gulp.run("webserver"); +gulp.task('watch', ["build", "webserver"], function() { + //gulp.run("build"); exec('rollup -c', function (err, stdout, stderr) { console.log(stdout); console.log(stderr); - //cb(err); }); + //gulp.run("webserver"); let watchlist = [ 'src/**/*.js', diff --git a/src/Potree.js b/src/Potree.js index 98b84865..67e61b52 100644 --- a/src/Potree.js +++ b/src/Potree.js @@ -1,5 +1,4 @@ - export * from "./Actions.js"; export * from "./AnimationPath.js"; export * from "./Annotation.js";