Skip to content

chore(backend): clarify nodemon test ignore configuration (#1081) - #1163

Open
Hikmaholadele wants to merge 1 commit into
LabsCrypt:mainfrom
Hikmaholadele:chore/1081-fix-nodemon-test-ignore
Open

chore(backend): clarify nodemon test ignore configuration (#1081)#1163
Hikmaholadele wants to merge 1 commit into
LabsCrypt:mainfrom
Hikmaholadele:chore/1081-fix-nodemon-test-ignore

Conversation

@Hikmaholadele

Copy link
Copy Markdown

Closes #1081

Summary

This PR updates the backend nodemon configuration to better reflect the project's current layout and clarifies how test files interact with the development server.

Changes

  • Updated backend/nodemon.json to remove or correct misleading test ignore patterns.
  • Added documentation explaining how nodemon's watch scope relates to the backend/tests directory.
  • Improved configuration clarity for contributors without changing runtime behavior.

Why

The previous configuration included ignore patterns for test files under src, while the project's test suite lives under backend/tests. Since nodemon watches only the configured directories, those ignore patterns were misleading and could cause confusion for contributors.

Testing

  • Verified backend/nodemon.json is valid.
  • Ran the project's relevant validation checks (lint/tests/typecheck as applicable).
  • Confirmed the changes do not alter the development server entrypoint or watch behavior beyond clarifying the configuration.

Closes #1081

@Hikmaholadele
Hikmaholadele force-pushed the chore/1081-fix-nodemon-test-ignore branch from f1ae5a2 to a19557c Compare July 30, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Infra] backend/nodemon.json ignores *.test.ts but not tests/ directory, so editing a test file still restarts the dev server

1 participant