Repository: flink Updated Branches: refs/heads/release-1.2 19bc20f29 -> 624f8ae9e
[FLINK-5466] [webfrontend] Set environment to production in gulpfile Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/e55d426d Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/e55d426d Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/e55d426d Branch: refs/heads/release-1.2 Commit: e55d426d8ec28865b3582bb06cd13b43decdc715 Parents: 19bc20f Author: Ufuk Celebi <[email protected]> Authored: Thu Jan 12 15:47:51 2017 +0100 Committer: Ufuk Celebi <[email protected]> Committed: Thu Jan 12 15:50:17 2017 +0100 ---------------------------------------------------------------------- flink-runtime-web/web-dashboard/gulpfile.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/e55d426d/flink-runtime-web/web-dashboard/gulpfile.js ---------------------------------------------------------------------- diff --git a/flink-runtime-web/web-dashboard/gulpfile.js b/flink-runtime-web/web-dashboard/gulpfile.js index 2b34e59..9844116 100644 --- a/flink-runtime-web/web-dashboard/gulpfile.js +++ b/flink-runtime-web/web-dashboard/gulpfile.js @@ -40,7 +40,7 @@ var mainBowerFiles = require('main-bower-files'); var less = require('gulp-less'); var path = require('path'); -var environment = 'development'; +var environment = 'production'; var paths = { src: './app/', dest: './web/', @@ -50,8 +50,8 @@ var paths = { tmp: './tmp/' } -gulp.task('set-production', function() { - environment = 'production'; +gulp.task('set-development', function() { + environment = 'development'; }); gulp.task('fonts', function() { @@ -157,6 +157,7 @@ gulp.task('styles', function () { }); gulp.task('watch', function () { + environment = 'development'; livereload.listen(); gulp.watch(paths.vendorLocal + '**', ['vendor-scripts']); @@ -181,5 +182,5 @@ gulp.task('vendor', ['vendor-styles', 'vendor-scripts']); gulp.task('compile', ['html', 'partials','styles', 'scripts']); gulp.task('default', ['fonts', 'assets', 'vendor', 'compile']); -gulp.task('production', ['set-production', 'default']); +gulp.task('dev', ['set-development', 'default']);
