readthedocs / readthedocs/common

Development: reduce the number of files watched by `nodemon`

Open
#162 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Improvement
Dominant language
JavaScript
Stars
36
Forks
48
Avg merge
1d 7h
Merged PRs (30d)
5

Description

In theory, nodemon should watch only 779,

root@716db483de08:/usr/src/app/checkouts/readthedocs.org# find ./readthedocs -type f -name '*.py' | wc -l
779

but it says it's watching ~5k:

web_1       | [nodemon] watching 4989 files

Related #160

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 the nodemon configuration in the repository and the details in related issue #160. Compare the configured watch scope with the 779 Python files shown in the issue, and consider the work done when nodemon reports watching substantially fewer files without losing the needed files.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.