Gruntfile.js
function(src,dest, isfile){
                //console.log('test');
                
                if (isfile){
                    grunt.file.copy(src,dest+'/'+src,{});
                    console.log('File has been created as '+dest+'/'+src);
                    return;
                }
                
                grunt.file.recurse(src, function(abspath, rootdir, subdir, filename){
                    var _ref3=(typeof subdir=='undefined'?'':(subdir+'/'));
                    grunt.file.copy(abspath,dest+'/'+src+'/'+_ref3+filename, {});
                    console.log('File has been created as '+dest+'/'+src+'/'+filename);
                });
                
            }
function(src,dest, isfile){
                //console.log('test');
                
                if (isfile){
                    grunt.file.copy(src,dest+'/'+src,{});
                    console.log('File has been created as '+dest+'/'+src);
                    return;
                }
                
                grunt.file.recurse(src, function(abspath, rootdir, subdir, filename){
                    var _ref3=(typeof subdir=='undefined'?'':(subdir+'/'));
                    grunt.file.copy(abspath,dest+'/'+src+'/'+_ref3+filename, {});
                    console.log('File has been created as '+dest+'/'+src+'/'+filename);
                });
                
            }
function ( src , dest , isfile ) { //console.log('test'); if ( isfile ) { grunt . file . copy ( src , dest + '/' + src , { } ) ; console . log ( 'File has been created as ' + dest + '/' + src ) ; return ; } grunt . file . recurse ( src , function ( abspath , rootdir , subdir , filename ) { var _ref3 = ( typeof subdir == 'undefined' ? '' : ( subdir + '/' ) ) ; grunt . file . copy ( abspath , dest + '/' + src + '/' + _ref3 + filename , { } ) ; console . log ( 'File has been created as ' + dest + '/' + src + '/' + filename ) ; } ) ; }
copy dicts pattern designed
copy dicts pattern designed