diff --git a/bin/nuxt-dev b/bin/nuxt-dev index de6b5af1dd..a54b99f9ba 100755 --- a/bin/nuxt-dev +++ b/bin/nuxt-dev @@ -5,6 +5,7 @@ process.env.DEBUG = 'nuxt:*' var _ = require('lodash') var debug = require('debug')('nuxt:build') +debug.color = 2 // force green color var fs = require('fs') var Nuxt = require('../') var chokidar = require('chokidar') diff --git a/lib/app/server.js b/lib/app/server.js index ea7e4a74e4..a5af32e6a1 100644 --- a/lib/app/server.js +++ b/lib/app/server.js @@ -1,6 +1,7 @@ 'use strict' const debug = require('debug')('nuxt:render') +debug.color = 4 // force blue color import Vue from 'vue' import { stringify } from 'querystring' import { omit } from 'lodash' diff --git a/lib/build/index.js b/lib/build/index.js index 70f41a74a8..1b57fed562 100644 --- a/lib/build/index.js +++ b/lib/build/index.js @@ -1,6 +1,7 @@ 'use strict' const debug = require('debug')('nuxt:build') +debug.color = 2 // force green color const _ = require('lodash') const co = require('co') const chokidar = require('chokidar') diff --git a/lib/render.js b/lib/render.js index f88fb77e76..c6850d6d81 100644 --- a/lib/render.js +++ b/lib/render.js @@ -1,4 +1,5 @@ const debug = require('debug')('nuxt:render') +debug.color = 4 // force blue color const co = require('co') const { urlJoin } = require('./utils') const { getContext } = require('./utils')