Skip to content

Commit 0aa00a7

Browse files
authored
Improve documentation for steam
Explain the options you can pass into stream.
1 parent cbe2ccb commit 0aa00a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ module.exports.reload = noop("reload");
102102
*
103103
* @method stream
104104
* @param {Object} [opts] Configuration for the stream method
105+
* @param {Object} [opts.match] Resulting files to reload. The path is from the
106+
* root of the site (not the root of your project). You can use '**' to recurse
107+
* directories.
108+
* @param {Object} [opts.once] Only reload on the first changed file in teh stream.
105109
* @since 2.6.0
106110
* @returns {*}
107111
*/

0 commit comments

Comments
 (0)