From 5ee9ed459b4765a1bc4781ec05cc2b4cb776618f Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 27 Mar 2018 11:43:29 +0430 Subject: [PATCH] fix(nuxt-build): always wait for analyze plugin when enabled --- bin/nuxt-build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/nuxt-build b/bin/nuxt-build index ecd730fd29..2581559972 100755 --- a/bin/nuxt-build +++ b/bin/nuxt-build @@ -60,8 +60,9 @@ nuxt.hook('error', (_err, from) => Utils.fatalError(_err, from)) // Close function const close = () => { - // In analyze mode wait for plugin opening the browser - if (options.build.analyze === true && !(options.ci || options.test)) { + // In analyze mode wait for plugin + // emitting assets and opening browser + if (options.build.analyze === true) { return }