mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-15 09:21:06 +02:00
Gui: bugfix Broswersync error in buck build
Change-Id: I83f73eb5baf283334086c40d6ec4e82829396d70
This commit is contained in:
parent
1c2a9685de
commit
a37e32f488
@ -4,8 +4,7 @@ import strip from 'gulp-strip-comments';
|
|||||||
import uglyfy from 'gulp-uglify';
|
import uglyfy from 'gulp-uglify';
|
||||||
import sourceMaps from 'gulp-sourcemaps';
|
import sourceMaps from 'gulp-sourcemaps';
|
||||||
import BundleResources from '../helpers/bundleResources';
|
import BundleResources from '../helpers/bundleResources';
|
||||||
import { reload } from '../../dev-server';
|
// import { reload } from '../../dev-server';
|
||||||
|
|
||||||
|
|
||||||
const GUI_BASE = '../../web/gui/src/main/webapp/';
|
const GUI_BASE = '../../web/gui/src/main/webapp/';
|
||||||
const bundleFiles = [
|
const bundleFiles = [
|
||||||
@ -44,7 +43,7 @@ function bundle(files, exportName) {
|
|||||||
.pipe(concat(exportName))
|
.pipe(concat(exportName))
|
||||||
.pipe(sourceMaps.write('source-map'))
|
.pipe(sourceMaps.write('source-map'))
|
||||||
.pipe(gulp.dest(GUI_BASE + '/dist/'))
|
.pipe(gulp.dest(GUI_BASE + '/dist/'))
|
||||||
.on('end', () => { reload(); })
|
.on('end', () => { /* reload(); */ })
|
||||||
}
|
}
|
||||||
|
|
||||||
return gulp.src(BundleResources(GUI_BASE, files))
|
return gulp.src(BundleResources(GUI_BASE, files))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user