{"action":"created","issue":{"url":"https://api.github.com/repos/sass/node-sass/issues/855","labels_url":"https://api.github.com/repos/sass/node-sass/issues/855/labels{/name}","comments_url":"https://api.github.com/repos/sass/node-sass/issues/855/comments","events_url":"https://api.github.com/repos/sass/node-sass/issues/855/events","html_url":"https://github.com/sass/node-sass/pull/855","id":67939704,"number":855,"title":"CLI: Adds --quiet flag","user":{"login":"paulcpederson","id":1031758,"avatar_url":"https://avatars.githubusercontent.com/u/1031758?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcpederson","html_url":"https://github.com/paulcpederson","followers_url":"https://api.github.com/users/paulcpederson/followers","following_url":"https://api.github.com/users/paulcpederson/following{/other_user}","gists_url":"https://api.github.com/users/paulcpederson/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcpederson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcpederson/subscriptions","organizations_url":"https://api.github.com/users/paulcpederson/orgs","repos_url":"https://api.github.com/users/paulcpederson/repos","events_url":"https://api.github.com/users/paulcpederson/events{/privacy}","received_events_url":"https://api.github.com/users/paulcpederson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-12T17:59:42Z","updated_at":"2015-04-12T21:01:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sass/node-sass/pulls/855","html_url":"https://github.com/sass/node-sass/pull/855","diff_url":"https://github.com/sass/node-sass/pull/855.diff","patch_url":"https://github.com/sass/node-sass/pull/855.patch"},"body":"Don't want to step on toes here if you were already working on this, @gibatronic , but thought I'd take a stab at implementing the `-q, --quiet` flag for the cli. \r\n\r\nI think this addresses the use case of #841 \r\n\r\nWrote some tests to ensure that the flag keeps the cli from outputting to `stderr` on `log` and `warn`. Also wrote a test to ensure that `error` is still passed through, regardless of if `--quiet` is used by creating an `invalid` fixture which contains a reference to an undefined sass variable. \r\n\r\n@gibatronic would this successfully enable you to do what you need to do?\r\n/cc @am11 @wesleytodd "},"comment":{"url":"https://api.github.com/repos/sass/node-sass/issues/comments/92126081","html_url":"https://github.com/sass/node-sass/pull/855#issuecomment-92126081","issue_url":"https://api.github.com/repos/sass/node-sass/issues/855","id":92126081,"user":{"login":"saper","id":248374,"avatar_url":"https://avatars.githubusercontent.com/u/248374?v=3","gravatar_id":"","url":"https://api.github.com/users/saper","html_url":"https://github.com/saper","followers_url":"https://api.github.com/users/saper/followers","following_url":"https://api.github.com/users/saper/following{/other_user}","gists_url":"https://api.github.com/users/saper/gists{/gist_id}","starred_url":"https://api.github.com/users/saper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saper/subscriptions","organizations_url":"https://api.github.com/users/saper/orgs","repos_url":"https://api.github.com/users/saper/repos","events_url":"https://api.github.com/users/saper/events{/privacy}","received_events_url":"https://api.github.com/users/saper/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T21:01:04Z","updated_at":"2015-04-12T21:01:04Z","body":"Cool, I think that `node-sass` should be quiet by default. What messages are we getting on a typical use case?\r\n\r\nI think that warnings should be on by default, normal `log` should be off unless `--verbose` or `-v` is given.\r\n\r\nNow:\r\n\r\n[ ] https://github.com/sass/node-sass/blob/3d44ce88d5fcefbf70abb9e8b69eb98d06ffcc16/bin/node-sass#L293 (`warn` on file change - should be changed to `log` and quiet by default)\r\n[ ] https://github.com/sass/node-sass/blob/3d44ce88d5fcefbf70abb9e8b69eb98d06ffcc16/bin/node-sass#L318 `emitter.emit('warn', util.format('Wrote %s CSS files to %s', arr.lenth, outputDir));` should be `log` and quiet\r\n\r\nMainly this is about whether watcher should be quiet or not. Anything else that gets generated?\r\n\r\n"}}