From f30a4f716971f60c3eeba897c1363149741793ff Mon Sep 17 00:00:00 2001 From: Marcello Gesmundo Date: Thu, 6 Jul 2017 15:02:48 +0200 Subject: [PATCH] Fix #1039 --- bin/nuxt-build | 2 +- bin/nuxt-dev | 2 +- bin/nuxt-generate | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/nuxt-build b/bin/nuxt-build index 0141ed65fc..845c0f4039 100755 --- a/bin/nuxt-build +++ b/bin/nuxt-build @@ -1,7 +1,7 @@ #!/usr/bin/env node // Show logs -process.env.DEBUG = 'nuxt:*' +process.env.DEBUG = process.env.DEBUG || 'nuxt:*' const fs = require('fs') const parseArgs = require('minimist') diff --git a/bin/nuxt-dev b/bin/nuxt-dev index 19e4b9de9f..63a2df52f9 100755 --- a/bin/nuxt-dev +++ b/bin/nuxt-dev @@ -1,7 +1,7 @@ #!/usr/bin/env node // Show logs -process.env.DEBUG = 'nuxt:*' +process.env.DEBUG = process.env.DEBUG || 'nuxt:*' const _ = require('lodash') const debug = require('debug')('nuxt:build') diff --git a/bin/nuxt-generate b/bin/nuxt-generate index fd97bc4fde..8cd5162fc2 100755 --- a/bin/nuxt-generate +++ b/bin/nuxt-generate @@ -1,7 +1,7 @@ #!/usr/bin/env node // Show logs -process.env.DEBUG = 'nuxt:*' +process.env.DEBUG = process.env.DEBUG || 'nuxt:*' const fs = require('fs') const parseArgs = require('minimist')