You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+69-2Lines changed: 69 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,15 +163,82 @@ Available options:
163
163
- `vars`: variables can be used within the next option `config`, in fact `var` is a list, you can get the list by `file pattern`, `array`, `function`(returnalist).
164
164
- `config`: the config item you want to change, you can use `vars` as template variables.
165
165
- `tasks`: the tasks you want to run.
166
-
- `continue`: if set to `true`, you indicate that the task will not stop. ( example: watch ).
166
+
- `continued`: if set to `true`, you indicate that the task will not stop. ( example: watch ).
167
167
- `logBegin`: Function, return log content you want to put in front of a thread.
168
168
- `logEnd`: Function, return log content you want to put after a thread finish.
169
169
- `maxSpawn`: The max number of spawns that can run at the same time.
170
170
171
+
Options can be specified globally for all `multi` targets and individually within each `multi:target`.
172
+
173
+
##### Task options (all targets)
174
+
175
+
```js
176
+
//Both targets (list and constant_func) will inherit task options
177
+
//and wiil have the vars.page_list = [ 'a', 'b', 'c' ]
0 commit comments