-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Currently the "cartridges" option is the path to a directory containing ALL your cartridges. And as a result, dw-utils watches ALL the cartridges.
It would be really nice to be able to specify individual cartridges that you wish to watch/upload. For example I have a lot of build scripts that do various things, including creating temporary folders and files in certain subdirectories. I don't want to watch those or upload them. But since dw-utils does a blanket watch on the entire directory and ALL subdirectories there is no way to avoid it.
It would be easy enough to change the "cartridges" option to accept an array of cartridge paths to watch. But it would probably render the current usage of the option non-backwards compatible.
I would like to mess with this and put in a pull request for it if you are okay with it. But I could use some direction on if I should change the "cartridges" option functionality or specify a new option, etc...
In my opinion, it might be wise to simply be able to specify a Glob of paths to watch/upload. That would make it so it still supports specify a single path to all cartridges but would allow someone to be more specific and specify multiple paths to individual cartridges.
Thoughts?