From e0d0baa75ec0bf617f91b6cd779305d4009cae12 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Fri, 9 Feb 2018 13:31:39 -0500 Subject: 🆒 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/index.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'backend/src/index.js') diff --git a/backend/src/index.js b/backend/src/index.js index fefe598..359456f 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -31,3 +31,8 @@ const server = new GraphQLServer({ // }); server.start(() => console.log('Server is running on http://localhost:4000')); + +// overwrite console.log +const chalk = require('chalk'); + +global.console.l = (...butta) => console.log(chalk.bold.yellow(...butta)); -- cgit v1.3