All pages in tagged with #Gulpjs


Transferrring Files to Remote Servers with GulpJS

A secure method to automate file uploads.

Sunday Jun 29, 2014 — 3 minute read — 578 words

On occasion, or perhaps even more frequently, you may want to use GulpJS in combination with a remote server. Watching local changes and uploading them is thankfully very easy. We’re going to focus on the most secure option - using SSH over FTP. Setup Install gulp-sftp locally. It’s as simple as: npm install --save-dev gulp-sftp After that, you can load it with a simple: var sftp = require("gulp-sftp"); The Task Here’s a sample Gulp task to get us started.

Read More