{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/grunt-concurrent/issues/81","labels_url":"https://api.github.com/repos/sindresorhus/grunt-concurrent/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/grunt-concurrent/issues/81/comments","events_url":"https://api.github.com/repos/sindresorhus/grunt-concurrent/issues/81/events","html_url":"https://github.com/sindresorhus/grunt-concurrent/issues/81","id":117357670,"number":81,"title":"Output still not colorized","user":{"login":"ficristo","id":10583268,"avatar_url":"https://avatars.githubusercontent.com/u/10583268?v=3","gravatar_id":"","url":"https://api.github.com/users/ficristo","html_url":"https://github.com/ficristo","followers_url":"https://api.github.com/users/ficristo/followers","following_url":"https://api.github.com/users/ficristo/following{/other_user}","gists_url":"https://api.github.com/users/ficristo/gists{/gist_id}","starred_url":"https://api.github.com/users/ficristo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ficristo/subscriptions","organizations_url":"https://api.github.com/users/ficristo/orgs","repos_url":"https://api.github.com/users/ficristo/repos","events_url":"https://api.github.com/users/ficristo/events{/privacy}","received_events_url":"https://api.github.com/users/ficristo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-17T13:48:46Z","updated_at":"2015-11-27T20:09:53Z","closed_at":null,"body":"I tried the last version (2.1.0) on the project on which I work and the output is still not colorized.\r\n(Running the tests of my fork of grunt-concurrent they all pass.)\r\nIf I change stdio option back to the string `inherit` the output is colorized but I get `Warning: Cannot call method 'pipe' of null Use --force to continue.`\r\nIf I comment the block with `if (opts.logConcurrentOutput)` everything seems to work correctly.\r\nI don't know how to solve this issue."},"comment":{"url":"https://api.github.com/repos/sindresorhus/grunt-concurrent/issues/comments/160198972","html_url":"https://github.com/sindresorhus/grunt-concurrent/issues/81#issuecomment-160198972","issue_url":"https://api.github.com/repos/sindresorhus/grunt-concurrent/issues/81","id":160198972,"user":{"login":"ficristo","id":10583268,"avatar_url":"https://avatars.githubusercontent.com/u/10583268?v=3","gravatar_id":"","url":"https://api.github.com/users/ficristo","html_url":"https://github.com/ficristo","followers_url":"https://api.github.com/users/ficristo/followers","following_url":"https://api.github.com/users/ficristo/following{/other_user}","gists_url":"https://api.github.com/users/ficristo/gists{/gist_id}","starred_url":"https://api.github.com/users/ficristo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ficristo/subscriptions","organizations_url":"https://api.github.com/users/ficristo/orgs","repos_url":"https://api.github.com/users/ficristo/repos","events_url":"https://api.github.com/users/ficristo/events{/privacy}","received_events_url":"https://api.github.com/users/ficristo/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T20:09:53Z","updated_at":"2015-11-27T20:09:53Z","body":"The following will print the debug message colorized with grunt-concurrent 1.0.1 version and not with the 2.1.0 one.\r\nI tested this on Windows with a MINGW64 terminal (the one that come with git bash).\r\n\r\nTo run: `DEBUG=* grunt`\r\n\r\npackage.json\r\n```json\r\n{\r\n  \"name\": \"grunt-concurrent-test\",\r\n  \"private\": true,\r\n  \"dependencies\": {\r\n    \"debug\": \"2.2.0\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"grunt\": \"0.4.5\",\r\n    \"grunt-concurrent\": \"2.1.0\",\r\n    \"grunt-nodemon\": \"0.4.0\"\r\n  }\r\n}\r\n```\r\n\r\nserver.js\r\n```javascript\r\nvar debug = require('debug')('server');\r\n\r\ndebug('debug');\r\nconsole.log('console.log');\r\n```\r\n\r\ngruntfile.js\r\n```javascript\r\nmodule.exports = function (grunt) {\r\n    grunt.initConfig({\r\n        concurrent: {\r\n            log: {\r\n                options: {\r\n                    logConcurrentOutput: true\r\n                },\r\n                tasks: ['nodemon']\r\n            }\r\n        },\r\n        nodemon: {\r\n            dev: {\r\n                script: 'server.js'\r\n            }\r\n        }\r\n    });\r\n\r\n    grunt.loadNpmTasks('grunt-nodemon');\r\n    grunt.loadNpmTasks('grunt-concurrent');\r\n\r\n    grunt.registerTask('default', [\r\n        'concurrent'\r\n    ]);\r\n};\r\n```"}}