Closed vmoshynskyi closed 9 years ago
Hi, I have released v0.4.1, which add a event "ssh2Data" for your purpose:
gulpSSH
.shell(['find /tmp'])
.on('ssh2Data', function(chunk) {
process.stdout.write(chunk);
});
Thank you for quick update :thumbsup:
Hi there.
Is there's a way to log the response from "shell" method into the console simultaneously with execution?
E.g. I've been using implementation similar to below
but after update to 0.4.0 it stopped working and it looks like
.on('data', function(file) {})
method now returns File with the whole output.Please advice.