fix build
This commit is contained in:
parent
e22bbb9892
commit
8d85ff13ff
@ -26,8 +26,9 @@ Install all dependencies, as specified in package.json,
|
||||
then, install the gulp build tool:
|
||||
|
||||
cd <potree_directory>
|
||||
npm install
|
||||
npm install --save
|
||||
npm install -g gulp
|
||||
npm install -g rollup
|
||||
|
||||
Use the ```gulp watch``` command to
|
||||
|
||||
|
||||
@ -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',
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
|
||||
|
||||
export * from "./Actions.js";
|
||||
export * from "./AnimationPath.js";
|
||||
export * from "./Annotation.js";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user