As part of the dev workflow grunt-contrib-copy is copying files from /src to /dist where the node server & debugger are running.
When I create breakpoints within /dist everything works perfectly with the debugger, but when I create them in /src they…
I have a subdir and in there, there are many more folders and files. So what I want is to copy the subdir with all the folders and files.
This is what it looks like now:
.
├── Gruntfile.js
└── src
├── a
└── subdir
└── b
…
Trying to grunt-contrib-copy files from a remote Windows 10 computer to OSX.
This all used to work perfectly for several years, For the last couple of months it's stopped working. It could have been around the time I upgraded the remote host to…
[edit: solved, see answer below]
I would like to run a grunt-contrib-copy task that will copy everything from one directory (a source directory) to another location (a distribution directory) with the exception of one folder. In other words, given…
i'm using yeoman as tool for mantaining the app organized. Since i've many directives i did not use the standard way the yeoman generate the directive, thus scripts/directive/name.js for the code and views/template_directive.html for the template.…
Is there a way to specify the permissions of a file during a grunt.file.copy(...), except using the 'fs.chmod' after copy has finished?
I will have to require the whole 'fs' module otherwise, just for changing the permissions. Will it be a lot of…
We are trying to run grunt tasks using grunt.config.set for dynamically concatinated strings. These grunt.configs are set in a forEach loop and change each time before the task is run.
This does unfortunately not work, as grunt only uses the last…
When I run lineman build it generates all the minified CSS and JS in the /dist directory. I can't figure out how to make it copy those minified files into a different directory( My Public Directory at path - ../lib/app/public).
My Lineman…
I wanna exclude multiple files with specific file name in grunt copy task, and the config now is this:
src: [
'**',
'!**/{master, client, socket}.*',
'!**/*.map'
]
but it only excludes file named with "master". It there a way to exclude…
I'm using Grunt as a build tool (surprise) and I'm using grunt-contrib-copy as a debugging and early development tool. I've scouted my code multiple times, and I don't understand why I'm getting an error. Here is my code.
Gruntfile.js
module.exports…
Take for example these two grunt configs:
copy: {
dist: {
files: [
...
]
}
}
and
copy: {
dist: {
...
}
}
}
"copy" is my task, "dist" is my target, but what is "files"? Seems to work all…
I am trying to copy files over from a parent folder using grunt-contrib-copy. My folder structure is:
-libs
-html5shiv
-respond
-jquery
-apps
-exampleApp1
-GruntFile.js
-build
-exampleApp2
-GruntFile.js
-build
I am trying…
I am developing an application in angular js and GRUNT build tool.
I want to copy all the files of demo directory to its parent directory.
For example the folder structure is like below
root
|
parent1
|
Demo
|
file1
file2
Like…