mitranim / mitranim/gow

Proposal: Add option to watch `testdata` subdirectories

Open
#32 5 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.