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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.