From 77e5e75b2f347a30e5ffcd2b048276d3a427fe34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 29 Jul 2014 08:13:23 +0200 Subject: [PATCH] Fixed ngmin build issue introduced in route refactoring, Fixes #622 --- tasks/options/connect.js | 10 +++++++++- tasks/options/ngmin.js | 3 ++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/tasks/options/connect.js b/tasks/options/connect.js index c485c5496d9..a2b70e02f96 100644 --- a/tasks/options/connect.js +++ b/tasks/options/connect.js @@ -8,5 +8,13 @@ module.exports = function(config) { keepalive: true } }, + dist: { + options: { + port: 5605, + hostname: '*', + base: config.destDir, + keepalive: true + } + }, } -}; \ No newline at end of file +}; diff --git a/tasks/options/ngmin.js b/tasks/options/ngmin.js index d4d2542bcce..141c059de54 100644 --- a/tasks/options/ngmin.js +++ b/tasks/options/ngmin.js @@ -9,6 +9,7 @@ module.exports = function(config) { 'app/services/**/*.js', 'app/filters/**/*.js', 'app/panels/**/*.js', + 'app/routes/**/*.js', 'app/app.js', 'vendor/angular/**/*.js', 'vendor/elasticjs/elastic-angular-client.js' @@ -16,4 +17,4 @@ module.exports = function(config) { dest: '<%= tempDir %>' } }; -}; \ No newline at end of file +};