Wondering how to get readline working in a non-primary Node.js cluster process while keeping colour output via Chalk in your CLI app?
(I’m pretty sure you’re not but, hey, I ran into this today and I’m documenting it in hopes it might help someone else sometime.)
Check out the implementation in Kitten’s development-time process manager (this little file is what Kitten uses in place of a heavyweight module like Nodemon):