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 }