jpwilliams / microboot

Boot up your app in wee little modules.
4 stars 0 forks source link

Add option to use `.gitignore` to ignore files #26

Closed jpwilliams closed 7 years ago

jpwilliams commented 7 years ago

Following on from the brief discussion in #25, a useGitIgnore option might be nice to be able to utilise a found .gitignore to purposefully ignore particular directories.

Things to consider:

  1. Is the use case for this valid? Is it a common use that I'd want to automatically ignore everything within my .gitignore? The two have different scopes that may not align.
  2. How would I find the .gitignore file? Would we assume that it's in the same directory as process.cwd(), should we go looking for it or should the option give you the option to provide a string with the path of the file?
jpwilliams commented 7 years ago

Removing. Wouldn't really make sense; can't find a valid use case.