D
D
Dmitry A.2015-10-15 20:17:15
SSH
Dmitry A., 2015-10-15 20:17:15

How can I set up gulp-sftp so that it doesn't create/delete a connection each time?

When developing, I use the gulp collector, which, every time the working files change, automatically processes them and uploads them to the server using the gulp-sftp plugin (which, in turn, uses ssh2 - https://github.com/mscdex/ssh2).
This is very convenient, however, every time you download the plugin creates a new ssh connection, and when the download is completed, it breaks it, which takes quite a lot of time.
There are no such connection settings in the options for the plugin. Question to experienced colleagues - can anyone come across how you can force the plugin to open and keep the connection? Well, or at least set some time interval during which it will not break.
Alternatively, can you recommend alternative plugins with similar functionality, where you can work in the way I described?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pomeo, 2015-10-20
@blackyangell

sshfs?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question