Swabra keeps deleting excluded directory

Completed

I'm trying to get swabra to NOT delete a node_modules folder to no avail.

 

Monitor paths is set to:

+:%project.build.projectDir%/*
-:%project.build.projectDir%/*/node_modules
-:%project.build.projectDir%/*/package-lock.json

 

project.build.projectDir is the path within the repo of the project being built (foo\bar)

 

Whatever I try with regards to the node_modules entry (with/without trailing "/*", including it within the repo etc.) swabra always deletes it or its contents. This seems like it ought to be easy.

 

Help!

 

 

 

1 comment
Comment actions Permalink

Hi,

 

have you tried added the fixed path rather than using the wildcards? I'm not sure how it's being resolved. Furthermore the agent log/build log would contain information about swabra runs, so you might find information in there about what it's doing.

 

What's the content of the parameter?

0

Please sign in to leave a comment.