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.

Matching parent paths

See original GitHub issue

Thanks for the handy plugin.

I ran into the following problem while running my gulp task for a different directory than my workin directory:

filter: '**/*.js' did not match: ..\..\path\to\script.js

To me this really seems to unexpected behavior. I am aware of this issue.

My question is: is there any chance to merge in the snippet @cb1kenobi posted? It would be great if I don’t have to fork and publish my own package for this.

Thanks in advance

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cb1kenobicommented, Jan 5, 2017

@nfroidure @stefanKuijers PR submitted!

0reactions
stefanKuijerscommented, Jan 11, 2017

@sindresorhus : Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use matchPath to Match Nested Route Paths in Parent Routes ...
In this lesson we'll use the `matchPath` function exported by react-router to find active nested routes inside of a parent component.
Read more >
Use matchPath to Match Nested Route Paths in ... - Egghead.io
In this lesson we'll use the matchPath function exported by react-router to find active nested routes inside of a parent component.
Read more >
how to match path under any parent directory #10 - GitHub
Hello, I have the following example folder structure app/ └── subdir └── config └── subdir └── test.yaml My workflow action ...
Read more >
Regex to match path except file and its parent directory
I am trying write an expression that matches a ...
Read more >
find searching in parent directories instead of subdirectories
git(:h) # relative path to containing directory, eg. '. ... A pathname component of the form (foo/)# matches a path consisting of zero...
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