question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow `src` option to accept globs and array of paths

See original GitHub issue

It’d be great if I could pass a glob here, I have a monorepo and would like to tell docz to look in packages/src/* and include my root README.md (to avoid having to have two files for gitlab and for docz)

module.exports = {
  src: ["packages/src/*", "README.md"],
};

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
pedronauckcommented, Aug 11, 2018

I’ll release a new version next Monday that allow you to do this @wldcordeiro 🙏

1reaction
brianespinosacommented, Aug 30, 2018

I am currently running 0.10.3 and when defining src : ['packages/src/*', '../../app/src'], I get an error telling me that the path must be a string. It says this was shipped in 0.10.0. Am I missing something?

Read more comments on GitHub >

github_iconTop Results From Across the Web

List all files in array with gulp.src() - Stack Overflow
According to this blog post, it should work: gulp. src(files) is a string or array containing the file(s) / file paths. My current...
Read more >
Is gulp.src too strict about input globs? (gulp 4) #1298 - GitHub
In #712, a decision was made to allow an empty array to be passed into gulp.src based on the case made by @wesleytodd....
Read more >
src() - gulp.js
name type default buffer boolean function true read boolean function true since date timestamp function
Read more >
Understanding the glob pattern in Node.js - LogRocket Blog
In this article, we'll explore how to use the glob pattern in Node.js to represent or specify filenames and arbitrary strings. To follow...
Read more >
glob — Unix style pathname pattern expansion ... - Python Docs
This function can support paths relative to directory descriptors with the dir_fd parameter. If recursive is true, the pattern “ ** ” will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found