Docs for cwd option

This commit is contained in:
Kyle Robinson Young 2013-08-27 16:25:03 -07:00
parent b0f8ec66eb
commit 78e699e30e

View File

@ -148,3 +148,9 @@ watch: {
},
},
```
## options.cwd
Type: `String|Object`
Default: `process.cwd()`
Ability to set the current working directory. Defaults to `process.cwd()`. Can either be a string to set the cwd to match files and spawn tasks. Or an object to set each independently. Such as `options: { cwd: { files: 'match/files/from/here', spawn: 'but/spawn/files/from/here' } }`.