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.


You must log in to answer this question.

Browse other questions tagged .