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.

Specify Files Recursively with ** wildcard

See original GitHub issue

This would essentially allow for recursive inclusion of files in all subfolders.

For example, currently would have to include files

"path/*/*.js",
"path/*/*/*.js",
"path/*/*/*/*.js"

This would be simplified with:

"path/**/*.js"

Issue Analytics

  • State:open
  • Created 10 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ilovettcommented, Sep 2, 2014

@cdimoulis ** doesn’t work recursively, you have use if for each depth IE:

'coffee/views/**/*.coffee',
'coffee/views/**/**/*.coffee',
2reactions
cyberdeliacommented, Sep 1, 2014

I’ve been using thing like views/**/*.coffee for a while 😑

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wildcard for arbitrary depth - recursive - Unix Stack Exchange
Use zsh. In the zshexpn(1) man page, Section "Recursive Globbing": A pathname component of the form '(foo/)#' matches a path consisting of ...
Read more >
Using Wildcards in Paths | Sumo Logic Docs
Specifying Paths to collect from​ · * is a simple, non-recursive wildcard representing zero or more characters which you can use for paths...
Read more >
makefile - Recursive wildcards in GNU make? - Stack Overflow
You can define your own recursive wildcard function like this: rwildcard=$(foreach d,$(wildcard $(1:=/*)),$(call rwildcard,$d,$2) $(filter ...
Read more >
How can I "grep" recursively filtering the name of the files I ...
So, how can I do a recursive search from the current directory but also specifying filename wildcards? (i.e: only search in files which...
Read more >
How to monitor wildcard files recursively - Splunk Community
I want to index all *.log files recursively from /var/log I ... You can use wildcards to specify your input path for monitored...
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