How to target directory above with pattern glob

1

0

How can i create a pattern for directories that are one level above?

Say i'm in /dir/server/ and i want to match /dir/src/?

I need to modify this glob: '!{app.js,{src,common,lib}/**}' but eg. '!{app.js,../{src,common,lib}/**}' doesnt work, neither does '!{app.js,{../src,../common,../lib}/**}'.

I'm trying to get this node forever script to work for me.

knutole

Posted 2015-11-16T22:30:25.880

Reputation: 155

No answers