{"action":"opened","issue":{"url":"https://api.github.com/repos/teambition/gulp-ssh/issues/21","labels_url":"https://api.github.com/repos/teambition/gulp-ssh/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/teambition/gulp-ssh/issues/21/comments","events_url":"https://api.github.com/repos/teambition/gulp-ssh/issues/21/events","html_url":"https://github.com/teambition/gulp-ssh/issues/21","id":91489318,"number":21,"title":"Logging \"shell\" method in to the console","user":{"login":"MoLLIa","id":454686,"avatar_url":"https://avatars.githubusercontent.com/u/454686?v=3","gravatar_id":"","url":"https://api.github.com/users/MoLLIa","html_url":"https://github.com/MoLLIa","followers_url":"https://api.github.com/users/MoLLIa/followers","following_url":"https://api.github.com/users/MoLLIa/following{/other_user}","gists_url":"https://api.github.com/users/MoLLIa/gists{/gist_id}","starred_url":"https://api.github.com/users/MoLLIa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoLLIa/subscriptions","organizations_url":"https://api.github.com/users/MoLLIa/orgs","repos_url":"https://api.github.com/users/MoLLIa/repos","events_url":"https://api.github.com/users/MoLLIa/events{/privacy}","received_events_url":"https://api.github.com/users/MoLLIa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-27T16:37:09Z","updated_at":"2015-06-27T16:37:09Z","closed_at":null,"body":"Hi there.\r\n\r\nIs there's a way to log the response from \"shell\" method into the console simultaneously with execution? \r\n\r\nE.g. I've been using implementation similar to below \r\n```javascript\r\ngulpSSH\r\n  .shell(['find /tmp'])\r\n  .on('data', function(file) {\r\n      file.contents.on('data', function(chunk) {\r\n        process.stdout.write(chunk);\r\n      });\r\n  });\r\n```\r\nbut after update to 0.4.0 it stopped working and it looks like `.on('data')` method now returns the whole file instead of chunks.\r\n\r\nPlease advice."}}