Docs for cwd option
This commit is contained in:
parent
b0f8ec66eb
commit
78e699e30e
@ -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' } }`.
|
||||
|
Loading…
Reference in New Issue
Block a user