summaryrefslogtreecommitdiffstats
path: root/backend/src/index.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-02-09 13:31:39 -0500
committerWes Bos <wesbos@gmail.com>2018-02-09 13:31:39 -0500
commite0d0baa75ec0bf617f91b6cd779305d4009cae12 (patch)
tree00eb968f49c6586cbc4367053887d0c5e68471b2 /backend/src/index.js
parent19c9683e2126c68cb9d231293162c756d69c51fb (diff)
🆒
Diffstat (limited to 'backend/src/index.js')
-rw-r--r--backend/src/index.js5
1 files changed, 5 insertions, 0 deletions
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));