Proposal: Add option to watch `testdata` subdirectories
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 906
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Firstly, kudos for your valuable contributions through the gow package.
Considering that the use of testdata directories is idiomatic in Go[^1], introducing an option such as --testdata to automatically monitor all testdata subdirectories within the current watch directory could be beneficial.
Please feel free to correct me if my understanding of the gow's capabilities is inaccurate.
[^1]: For instance, see https://github.com/golang/go/tree/master/src/image/testdata
Best regards.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing gow's existing command-line option handling and file-watching implementation; the issue does not identify specific files or tests. Define how a --testdata option should discover testdata subdirectories, then verify that changes in those directories trigger the existing watched command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100