copyfiles
                                
                                
                                
                                    copyfiles copied to clipboard
                            
                            
                            
                        --exclude with quoted glob does not seem to work
I have a npm script like:
"copy:resources": "copyup --exclude \"**/*.ts\" \"./src/**/*\" build",
It copies all files, including the *.ts files. I don't want the *.ts files to be copied.
I'm running on OSX and if understand correctly I should quote the glob.
Same thing is happening to me. The below copies everything including the node_modules folder.
copyfiles -a -e "./node_modules" **/* destinationfolder
                                    
                                    
                                    
                                
the exclude options get passed directly to glob so it may be an issue there
copyup -e \"./src/**/*.ts\" \"./src/**/*\" \"build\"
your glob needs to be more explicit, I ran in to this myself.
I had to use the syntax -e=./src/**/*.tx to make it work
Facing the same issue?
copyfiles(
  ['./src/assets/**', './dist'],
  {
    all: true,
    up: 1,
    exclude: ['**/stats.txt']
  },
  (err) => err && console.error(err)
);