Comments (4)
yep, with v0.4.0rc7 we now use grunt's built-in modifiers. expand
is required for cwd
. newer examples show this i believe.
from grunt-contrib-copy.
in most cases, yes because the path that copy gets are relative to cwd, ie project dir, so you need to set your own cwd
which requires expand
so that copy gets paths relative to your src. we used to have ways of automagically tryinng to detect this but we now use grunt modifiers which are consistent between all v0.4.0rc7 supporting tasks.
from grunt-contrib-copy.
So, if I don't want to copy over the src directory itself, I have to set expand
to true
?
from grunt-contrib-copy.
Okay, makes sense. Thanks!
from grunt-contrib-copy.
Related Issues (20)
- hide page HOT 1
- What is it do when copy?
- syncTimestamp running even if timestamp option is false HOT 2
- Document options HOT 1
- Using expand with --no-write fails
- timestampEqual test fails on i386 Linux
- file not copied [no src] HOT 1
- Question than issue
- Copy task not working in windows running forever HOT 5
- Audio files are breaking :'( HOT 1
- Process Function Corrupts Images and fons files
- How to resolve the below error ? HOT 2
- Replace not working with multiple files.
- .filename not copied with src: **/**
- node Assertion failed on copy HOT 3
- Decompose list and move the files in the list to an existing directory
- Xgboost and Bayesian Optimization HOT 1
- Slow on windows HOT 2
- Grunt-Copy-JS annoying Warning: EPERM: operation not permitted, futime Use --force to continue. HOT 2
- Copy files is broken after update Grunt v1.6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-contrib-copy.