Skip to content

Support multiple pattern directories #248

@bmuenzenmeyer

Description

@bmuenzenmeyer

Capturing some notes from Target folks:

If confg.patterns.source accepted an array of patterns directories, one might be able to inherit shared / base patterns from a separate repository directory and build product-specific pattern libraries atop them.

Questions

  1. What problems does this make for file watches, if any? Look into https://github.com/sindresorhus/gulp-changed
  2. Does the algorithm even need to change in any significant way? Seems like all one would have to do is tweak pattern_assembler.processPatternIterative() and pattern_assembler.processPatternRecursive() to go through the array instead of one directory.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions