{"action":"created","issue":{"url":"https://api.github.com/repos/docpad/docpad/issues/938","labels_url":"https://api.github.com/repos/docpad/docpad/issues/938/labels{/name}","comments_url":"https://api.github.com/repos/docpad/docpad/issues/938/comments","events_url":"https://api.github.com/repos/docpad/docpad/issues/938/events","html_url":"https://github.com/docpad/docpad/issues/938","id":59068650,"number":938,"title":"`--no-color` doesn’t work","user":{"login":"Zearin","id":630124,"avatar_url":"https://avatars.githubusercontent.com/u/630124?v=3","gravatar_id":"","url":"https://api.github.com/users/Zearin","html_url":"https://github.com/Zearin","followers_url":"https://api.github.com/users/Zearin/followers","following_url":"https://api.github.com/users/Zearin/following{/other_user}","gists_url":"https://api.github.com/users/Zearin/gists{/gist_id}","starred_url":"https://api.github.com/users/Zearin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zearin/subscriptions","organizations_url":"https://api.github.com/users/Zearin/orgs","repos_url":"https://api.github.com/users/Zearin/repos","events_url":"https://api.github.com/users/Zearin/events{/privacy}","received_events_url":"https://api.github.com/users/Zearin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docpad/docpad/labels/type%20support%20/%20question","name":"type support / question","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-26T12:59:40Z","updated_at":"2015-02-26T16:12:29Z","closed_at":null,"body":"It’s plainly visible in the Terminal.  It wasn’t showing up when I copy-pasted it straight from the terminal, so I redirected it to a file for a few seconds like so:\r\n\r\n```\r\n$ ./node_modules/.bin/docpad --debug 7 --no-color run > _no_color.log\r\n^C\r\n```\r\n\r\nHere’s what I got:\r\n\r\n```\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  normalize the userConfigPath > added\r\n    \u001B[2m→ [2015-02-26 07:54:43.417] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  load the user's configuration > added\r\n    \u001B[2m→ [2015-02-26 07:54:43.432] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  load the anonymous user's configuration > added\r\n    \u001B[2m→ [2015-02-26 07:54:43.437] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  load the website's package data > added\r\n    \u001B[2m→ [2015-02-26 07:54:43.441] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  read the .env file if it exists > added\r\n    \u001B[2m→ [2015-02-26 07:54:43.444] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  load the website's configuration > added\r\n    \u001B[2m→ [2015-02-26 07:54:43.449] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks > started\r\n    \u001B[2m→ [2015-02-26 07:54:43.453] [events.js:104] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  normalize the userConfigPath > started\r\n    \u001B[2m→ [2015-02-26 07:54:43.456] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  normalize the userConfigPath > done\r\n    \u001B[2m→ [2015-02-26 07:54:43.462] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  load the user's configuration > started\r\n    \u001B[2m→ [2015-02-26 07:54:43.466] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m Loading user's configuration: /Users/tony/Dropbox/.docpad.cson\r\n    \u001B[2m→ [2015-02-26 07:54:43.471] [/Users/tony/__PROJECT__/node_modules/docpad/node_modules/ambi/out/lib/ambi.js:55] [ambi]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m Loading configuration path: /Users/tony/Dropbox/.docpad.cson\r\n    \u001B[2m→ [2015-02-26 07:54:43.474] [/Users/tony/__PROJECT__/node_modules/docpad/out/lib/docpad.js:1710] [DocPad.loadConfigPath]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m Loading user's configuration: /Users/tony/Dropbox/.docpad.cson\r\n    \u001B[2m→ [2015-02-26 07:54:43.485] [/Users/tony/__PROJECT__/node_modules/docpad/out/lib/docpad.js:1706] [unknown]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  load the user's configuration > done\r\n    \u001B[2m→ [2015-02-26 07:54:43.487] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  load the anonymous user's configuration > started\r\n    \u001B[2m→ [2015-02-26 07:54:43.491] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  load the anonymous user's configuration > done\r\n    \u001B[2m→ [2015-02-26 07:54:43.494] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m load tasks ➞  load the website's package data > started\r\n    \u001B[2m→ [2015-02-26 07:54:43.498] [events.js:107] [_Class.emit]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m Loading website package.json configuration: /Users/tony/__PROJECT__/package.json\r\n    \u001B[2m→ [2015-02-26 07:54:43.500] [/Users/tony/__PROJECT__/node_modules/docpad/node_modules/ambi/out/lib/ambi.js:55] [ambi]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m Loading configuration path: /Users/tony/__PROJECT__/package.json\r\n    \u001B[2m→ [2015-02-26 07:54:43.503] [/Users/tony/__PROJECT__/node_modules/docpad/out/lib/docpad.js:1710] [DocPad.loadConfigPath]\u001B[22m\r\n\u001B[32mdebug:\u001B[39m Loaded website package.json configuration: /Users/tony/__PROJECT__/package.json\r\n    \u001B[2m→ [2015-02-26 07:54:43.508] \r\n```\r\n\r\n----\r\n\r\n## Recommend the following:\r\n\r\n- [ ] Make `--no-color` work unconditionally\r\n- [ ] Make colorful output ONLY work when the output is connected to a Terminal (i.e., automatically turn off colors if output is being redirected)\r\n\r\n----\r\n\r\n**Edit:** Replaced middle of the path with __PROJECT__\r\n**Edit:** Trimmed output text length"},"comment":{"url":"https://api.github.com/repos/docpad/docpad/issues/comments/76206424","html_url":"https://github.com/docpad/docpad/issues/938#issuecomment-76206424","issue_url":"https://api.github.com/repos/docpad/docpad/issues/938","id":76206424,"user":{"login":"Zearin","id":630124,"avatar_url":"https://avatars.githubusercontent.com/u/630124?v=3","gravatar_id":"","url":"https://api.github.com/users/Zearin","html_url":"https://github.com/Zearin","followers_url":"https://api.github.com/users/Zearin/followers","following_url":"https://api.github.com/users/Zearin/following{/other_user}","gists_url":"https://api.github.com/users/Zearin/gists{/gist_id}","starred_url":"https://api.github.com/users/Zearin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zearin/subscriptions","organizations_url":"https://api.github.com/users/Zearin/orgs","repos_url":"https://api.github.com/users/Zearin/repos","events_url":"https://api.github.com/users/Zearin/events{/privacy}","received_events_url":"https://api.github.com/users/Zearin/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T16:12:29Z","updated_at":"2015-02-26T16:12:29Z","body":"I wish I could.  :(  I have too much going on right now to do much of anything!  \r\n\r\nMost of my time lately is spent on a project that uses DocPad, which is why I’ve been reporting stuff lately.\r\n\r\nWhen I am once again able to, I’ll pitch in, for sure.  I’m sorry I can’t do much beyond report this for the moment, but I’m kind of maxed out.  :-/"}}