Daily Archive: February 3, 2017

0

Grunt Copy Only Changed/Watched File Only (Node.js)

Only copy modified file in “grunt watch”, see code bellow. Gruntfile.js //code for Gruntfile.js module.exports = function (grunt) {   var srcF = ‘D:/PROJECTS/2016/Website/’; var outF = ‘\\\\Computer\\d$\\2016\\Website\\’; //WINDOWS MAPPED DRIVE ie: Q:\2016\Website  ...